@forwardslashns/taskit-validation-messages 1.0.43 → 1.0.44

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.
@@ -99,6 +99,34 @@ export declare const VALIDATION_MESSAGES: {
99
99
  readonly message: "This option is currently in use and cannot be deleted.";
100
100
  };
101
101
  };
102
+ readonly CONTACT: {
103
+ readonly CONTACT_ROLES_NOT_FOUND: {
104
+ readonly message: "Contact roles with ids {ids} do not exist";
105
+ readonly params: readonly ["ids"];
106
+ };
107
+ readonly CONTACT_TYPES_NOT_FOUND: {
108
+ readonly message: "Contact types with ids {ids} do not exist";
109
+ readonly params: readonly ["ids"];
110
+ };
111
+ readonly LEGAL_CONTACT_MUST_BE_PROVIDED: {
112
+ readonly message: "The client must have a legal contact. Please set the contact type to 'Legal'.";
113
+ };
114
+ readonly MULTIPLE_LEGAL_CONTACTS_PROVIDED: {
115
+ readonly message: "The client must have only one legal contact. Please ensure only one contact is set to 'Legal'.";
116
+ };
117
+ readonly BILLING_CONTACT_MUST_BE_PROVIDED: {
118
+ readonly message: "The client must have a billing contact. Please set the contact type to 'Billing'.";
119
+ };
120
+ readonly MULTIPLE_BILLING_CONTACTS_PROVIDED: {
121
+ readonly message: "The client must have only one billing contact. Please ensure only one contact is set to 'Billing'.";
122
+ };
123
+ readonly PRIMARY_CONTACT_MUST_BE_PROVIDED: {
124
+ readonly message: "The client must have a primary contact. Please set the contact type to 'Primary'.";
125
+ };
126
+ readonly MULTIPLE_PRIMARY_CONTACTS_PROVIDED: {
127
+ readonly message: "The client must have only one primary contact. Please ensure only one contact is set to 'Primary'.";
128
+ };
129
+ };
102
130
  readonly CLIENT: {
103
131
  readonly INVALID_REQUEST: {
104
132
  readonly message: "Missing client id in 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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+gBtB,CAAC"}
@@ -102,6 +102,34 @@ exports.VALIDATION_MESSAGES = {
102
102
  message: `This option is currently in use and cannot be deleted.`,
103
103
  },
104
104
  },
105
+ CONTACT: {
106
+ CONTACT_ROLES_NOT_FOUND: {
107
+ message: `Contact roles with ids {ids} do not exist`,
108
+ params: ['ids'],
109
+ },
110
+ CONTACT_TYPES_NOT_FOUND: {
111
+ message: `Contact types with ids {ids} do not exist`,
112
+ params: ['ids'],
113
+ },
114
+ LEGAL_CONTACT_MUST_BE_PROVIDED: {
115
+ message: `The client must have a legal contact. Please set the contact type to 'Legal'.`,
116
+ },
117
+ MULTIPLE_LEGAL_CONTACTS_PROVIDED: {
118
+ message: `The client must have only one legal contact. Please ensure only one contact is set to 'Legal'.`,
119
+ },
120
+ BILLING_CONTACT_MUST_BE_PROVIDED: {
121
+ message: `The client must have a billing contact. Please set the contact type to 'Billing'.`,
122
+ },
123
+ MULTIPLE_BILLING_CONTACTS_PROVIDED: {
124
+ message: `The client must have only one billing contact. Please ensure only one contact is set to 'Billing'.`,
125
+ },
126
+ PRIMARY_CONTACT_MUST_BE_PROVIDED: {
127
+ message: `The client must have a primary contact. Please set the contact type to 'Primary'.`,
128
+ },
129
+ MULTIPLE_PRIMARY_CONTACTS_PROVIDED: {
130
+ message: `The client must have only one primary contact. Please ensure only one contact is set to 'Primary'.`,
131
+ },
132
+ },
105
133
  CLIENT: {
106
134
  INVALID_REQUEST: {
107
135
  message: 'Missing client id in request',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -99,6 +99,34 @@ export const VALIDATION_MESSAGES = {
99
99
  message: `This option is currently in use and cannot be deleted.`,
100
100
  },
101
101
  },
102
+ CONTACT: {
103
+ CONTACT_ROLES_NOT_FOUND: {
104
+ message: `Contact roles with ids {ids} do not exist`,
105
+ params: ['ids'],
106
+ },
107
+ CONTACT_TYPES_NOT_FOUND: {
108
+ message: `Contact types with ids {ids} do not exist`,
109
+ params: ['ids'],
110
+ },
111
+ LEGAL_CONTACT_MUST_BE_PROVIDED: {
112
+ message: `The client must have a legal contact. Please set the contact type to 'Legal'.`,
113
+ },
114
+ MULTIPLE_LEGAL_CONTACTS_PROVIDED: {
115
+ message: `The client must have only one legal contact. Please ensure only one contact is set to 'Legal'.`,
116
+ },
117
+ BILLING_CONTACT_MUST_BE_PROVIDED: {
118
+ message: `The client must have a billing contact. Please set the contact type to 'Billing'.`,
119
+ },
120
+ MULTIPLE_BILLING_CONTACTS_PROVIDED: {
121
+ message: `The client must have only one billing contact. Please ensure only one contact is set to 'Billing'.`,
122
+ },
123
+ PRIMARY_CONTACT_MUST_BE_PROVIDED: {
124
+ message: `The client must have a primary contact. Please set the contact type to 'Primary'.`,
125
+ },
126
+ MULTIPLE_PRIMARY_CONTACTS_PROVIDED: {
127
+ message: `The client must have only one primary contact. Please ensure only one contact is set to 'Primary'.`,
128
+ },
129
+ },
102
130
  CLIENT: {
103
131
  INVALID_REQUEST: {
104
132
  message: 'Missing client id in request',