@forwardslashns/taskit-validation-messages 1.0.45 → 1.0.47

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.
@@ -249,6 +249,9 @@ export declare const VALIDATION_MESSAGES: {
249
249
  readonly CLIENT_COULD_NOT_BE_DELETED_BANK_ACCOUNTS_EXIST: {
250
250
  readonly message: "This client cannot be deleted because it has bank accounts associated";
251
251
  };
252
+ readonly CLIENT_COULD_NOT_BE_DELETED_CREDIT_CARDS_EXIST: {
253
+ readonly message: "This client cannot be deleted because it has credit cards associated";
254
+ };
252
255
  readonly CLIENT_COULD_NOT_BE_DELETED_WORKLOGS_EXIST: {
253
256
  readonly message: "This client cannot be deleted because it has worklogs associated";
254
257
  };
@@ -523,8 +526,8 @@ export declare const VALIDATION_MESSAGES: {
523
526
  };
524
527
  readonly OUTSIDE_PROVIDER: {
525
528
  readonly INVALID_TYPE: {
526
- readonly message: "Outside provider type with id '{id}' does not exist";
527
- readonly params: readonly ["id"];
529
+ readonly message: "Outside provider types with ids '{ids}' do not exist";
530
+ readonly params: readonly ["ids"];
528
531
  };
529
532
  readonly SAME_TYPE_TIMELINE_OVERLAP: {
530
533
  readonly message: "The client already has {outsideProviderType} starting from {startDate}. Your entry overlaps with that time. Please adjust the dates so they don't overlap.";
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyhBtB,CAAC"}
1
+ {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4hBtB,CAAC"}
@@ -252,6 +252,9 @@ exports.VALIDATION_MESSAGES = {
252
252
  CLIENT_COULD_NOT_BE_DELETED_BANK_ACCOUNTS_EXIST: {
253
253
  message: `This client cannot be deleted because it has bank accounts associated`,
254
254
  },
255
+ CLIENT_COULD_NOT_BE_DELETED_CREDIT_CARDS_EXIST: {
256
+ message: `This client cannot be deleted because it has credit cards associated`,
257
+ },
255
258
  CLIENT_COULD_NOT_BE_DELETED_WORKLOGS_EXIST: {
256
259
  message: `This client cannot be deleted because it has worklogs associated`,
257
260
  },
@@ -530,8 +533,8 @@ exports.VALIDATION_MESSAGES = {
530
533
  },
531
534
  OUTSIDE_PROVIDER: {
532
535
  INVALID_TYPE: {
533
- message: `Outside provider type with id '{id}' does not exist`,
534
- params: ['id'],
536
+ message: `Outside provider types with ids '{ids}' do not exist`,
537
+ params: ['ids'],
535
538
  },
536
539
  SAME_TYPE_TIMELINE_OVERLAP: {
537
540
  message: `The client already has {outsideProviderType} starting from {startDate}. Your entry overlaps with that time. Please adjust the dates so they don't overlap.`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.45",
3
+ "version": "1.0.47",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -249,6 +249,9 @@ export const VALIDATION_MESSAGES = {
249
249
  CLIENT_COULD_NOT_BE_DELETED_BANK_ACCOUNTS_EXIST: {
250
250
  message: `This client cannot be deleted because it has bank accounts associated`,
251
251
  },
252
+ CLIENT_COULD_NOT_BE_DELETED_CREDIT_CARDS_EXIST: {
253
+ message: `This client cannot be deleted because it has credit cards associated`,
254
+ },
252
255
  CLIENT_COULD_NOT_BE_DELETED_WORKLOGS_EXIST: {
253
256
  message: `This client cannot be deleted because it has worklogs associated`,
254
257
  },
@@ -527,8 +530,8 @@ export const VALIDATION_MESSAGES = {
527
530
  },
528
531
  OUTSIDE_PROVIDER: {
529
532
  INVALID_TYPE: {
530
- message: `Outside provider type with id '{id}' does not exist`,
531
- params: ['id'],
533
+ message: `Outside provider types with ids '{ids}' do not exist`,
534
+ params: ['ids'],
532
535
  },
533
536
  SAME_TYPE_TIMELINE_OVERLAP: {
534
537
  message: `The client already has {outsideProviderType} starting from {startDate}. Your entry overlaps with that time. Please adjust the dates so they don't overlap.`,