@escapenavigator/types 2.2.7 → 2.2.9

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.
Files changed (92) hide show
  1. package/dist/cashbox/cashbox-light.ro.d.ts +1 -0
  2. package/dist/cashbox/cashbox-light.ro.js +4 -0
  3. package/dist/cashbox/create-cashbox.dto.d.ts +1 -0
  4. package/dist/cashbox/create-cashbox.dto.js +6 -0
  5. package/dist/cashbox/create-online-cashbox.dto.d.ts +1 -0
  6. package/dist/cashbox/create-online-cashbox.dto.js +6 -0
  7. package/dist/cashbox/update-online-cashbox.dto.d.ts +1 -0
  8. package/dist/cashbox/update-online-cashbox.dto.js +6 -0
  9. package/dist/constants/all-languages-by-namespace.js +1 -0
  10. package/dist/constants/country-by-namespace.js +1 -0
  11. package/dist/constants/country-name-by-country.js +1 -0
  12. package/dist/constants/currency-by-country.js +1 -0
  13. package/dist/constants/emergency-phones.js +6 -0
  14. package/dist/constants/language-by-country.js +1 -0
  15. package/dist/constants/namespace-by-country.js +1 -0
  16. package/dist/constants/navigator-certificate-nominals-by-country.d.ts +2 -2
  17. package/dist/constants/navigator-certificate-nominals-by-country.js +1 -0
  18. package/dist/email-builder/index.d.ts +2 -1
  19. package/dist/email-builder/index.js +1 -0
  20. package/dist/kids-party-request/query-kids-party-requests.dto.d.ts +2 -0
  21. package/dist/kids-party-request/query-kids-party-requests.dto.js +6 -0
  22. package/dist/lead/lead-form-field.type.d.ts +1 -0
  23. package/dist/lead/lead-form-layout.d.ts +17 -0
  24. package/dist/lead/lead-form-layout.js +88 -0
  25. package/dist/lead/lead-form.ro.d.ts +6 -0
  26. package/dist/lead/lead-form.ro.js +14 -0
  27. package/dist/lead/public/public-lead-form.ro.d.ts +3 -0
  28. package/dist/lead/query-leads.dto.d.ts +4 -0
  29. package/dist/lead/query-leads.dto.js +12 -1
  30. package/dist/lead/update-lead-form.dto.d.ts +3 -0
  31. package/dist/lead/update-lead-form.dto.js +12 -0
  32. package/dist/openapi/order-groups/openapi-batch-create-preorder.dto.d.ts +1 -0
  33. package/dist/openapi/order-groups/openapi-batch-create-preorder.dto.js +1 -0
  34. package/dist/openapi/orders/openapi-create-preorder.dto.d.ts +2 -0
  35. package/dist/openapi/orders/openapi-create-preorder.dto.js +14 -0
  36. package/dist/openapi/orders/openapi-order.ro.d.ts +3 -0
  37. package/dist/openapi/orders/openapi-order.ro.js +12 -0
  38. package/dist/openapi/ru-aggregators/aggregators-info.js +4 -0
  39. package/dist/openapi/ru-aggregators/aggregators.enum.d.ts +2 -1
  40. package/dist/openapi/ru-aggregators/aggregators.enum.js +1 -0
  41. package/dist/openapi/shared/openapi-questroom.ro.d.ts +5 -0
  42. package/dist/openapi/shared/openapi-questroom.ro.js +15 -0
  43. package/dist/order/order.ro.d.ts +10 -0
  44. package/dist/order/order.ro.js +40 -0
  45. package/dist/packages/create-package.dto.js +4 -2
  46. package/dist/packages/package-audience.enum.d.ts +1 -0
  47. package/dist/packages/package-audience.enum.js +1 -0
  48. package/dist/profile/company/profile-company.dto.d.ts +22 -0
  49. package/dist/profile/company/profile-company.dto.js +108 -0
  50. package/dist/profile/enum/profile-currency.d.ts +2 -1
  51. package/dist/profile/enum/profile-currency.js +1 -0
  52. package/dist/profile/marketing-automation/custom-email-rule.dto.d.ts +33 -0
  53. package/dist/profile/marketing-automation/custom-email-rule.dto.js +133 -0
  54. package/dist/profile/notification-chanel/notification-chanel-action.enum.d.ts +1 -0
  55. package/dist/profile/notification-chanel/notification-chanel-action.enum.js +3 -1
  56. package/dist/profile/telephony/novofon.d.ts +44 -0
  57. package/dist/profile/telephony/novofon.js +80 -0
  58. package/dist/profile/waiver/profile-waiver.ro.d.ts +1 -0
  59. package/dist/profile/waiver/profile-waiver.ro.js +4 -0
  60. package/dist/profile/waiver/update-waiver.dto.d.ts +1 -0
  61. package/dist/profile/waiver/update-waiver.dto.js +6 -0
  62. package/dist/questroom/booking-completion-text.d.ts +8 -0
  63. package/dist/questroom/booking-completion-text.js +51 -0
  64. package/dist/questroom/create-questroom.dto.d.ts +7 -0
  65. package/dist/questroom/create-questroom.dto.js +32 -0
  66. package/dist/questroom/enum/questroom-mode-icon.enum.d.ts +53 -0
  67. package/dist/questroom/enum/questroom-mode-icon.enum.js +155 -0
  68. package/dist/questroom/questroom-light.ro.d.ts +6 -0
  69. package/dist/questroom/questroom-light.ro.js +19 -0
  70. package/dist/shared/enum/countries.enum.d.ts +2 -1
  71. package/dist/shared/enum/countries.enum.js +1 -0
  72. package/dist/shared/enum/namespaces.enum.d.ts +2 -1
  73. package/dist/shared/enum/namespaces.enum.js +1 -0
  74. package/dist/shared/source.enum.d.ts +2 -1
  75. package/dist/shared/source.enum.js +1 -0
  76. package/dist/shared/timezone.enum.d.ts +1 -0
  77. package/dist/shared/timezone.enum.js +1 -0
  78. package/dist/slot/slot.ro.d.ts +2 -0
  79. package/dist/slot-rule/create-rule.dto.d.ts +1 -0
  80. package/dist/slot-rule/create-rule.dto.js +7 -0
  81. package/dist/slot-rule/defailt-rule.d.ts +1 -0
  82. package/dist/slot-rule/defailt-rule.js +1 -0
  83. package/dist/slot-rule/rule.ro.d.ts +1 -0
  84. package/dist/slot-rule/rule.ro.js +4 -0
  85. package/dist/transaction/transaction.ro.d.ts +1 -0
  86. package/dist/transaction/transaction.ro.js +4 -0
  87. package/dist/tsconfig.build.tsbuildinfo +1 -1
  88. package/dist/widget/create-widget.dto.d.ts +1 -0
  89. package/dist/widget/create-widget.dto.js +8 -0
  90. package/dist/widget/widget.ro.d.ts +2 -0
  91. package/dist/widget-chat/widget-chat-message.ro.d.ts +3 -1
  92. package/package.json +2 -2
@@ -11,6 +11,7 @@ export declare class CreateWidgetDto {
11
11
  certificateDesignId?: number | null;
12
12
  leadFormId?: number | null;
13
13
  packagesDesign?: PackagesWidgetDesignEnum;
14
+ packageIds?: number[] | null;
14
15
  ga4Id?: string;
15
16
  fbPixelId?: string;
16
17
  tiktokPixelId?: string;
@@ -85,6 +85,14 @@ __decorate([
85
85
  (0, class_transformer_1.Expose)(),
86
86
  __metadata("design:type", String)
87
87
  ], CreateWidgetDto.prototype, "packagesDesign", void 0);
88
+ __decorate([
89
+ (0, class_validator_1.IsOptional)(),
90
+ (0, class_validator_1.IsArray)(),
91
+ (0, class_validator_1.IsInt)({ each: true }),
92
+ (0, class_validator_1.IsPositive)({ each: true }),
93
+ (0, class_transformer_1.Expose)(),
94
+ __metadata("design:type", Array)
95
+ ], CreateWidgetDto.prototype, "packageIds", void 0);
88
96
  __decorate([
89
97
  (0, class_validator_1.IsOptional)(),
90
98
  (0, class_transformer_1.Expose)(),
@@ -36,6 +36,8 @@ export type WidgetRO = {
36
36
  * По умолчанию — цветные карточки (`classic`).
37
37
  */
38
38
  packagesDesign?: PackagesWidgetDesignEnum;
39
+ /** null — all published packages; an array — an explicit selection. */
40
+ packageIds?: number[] | null;
39
41
  /**
40
42
  * Для формы заявок (LEAD_FORM): какую форму показывать.
41
43
  * null/undefined — первая активная форма профиля.
@@ -43,6 +43,8 @@ export type WidgetChatReplyChip = {
43
43
  datePicker?: boolean;
44
44
  };
45
45
  export type WidgetChatMessageMeta = {
46
+ language?: string;
47
+ } & ({
46
48
  kind: 'slot_suggestions';
47
49
  items: WidgetChatSlotSuggestion[];
48
50
  } | ({
@@ -70,7 +72,7 @@ export type WidgetChatMessageMeta = {
70
72
  } | ({
71
73
  kind: 'certificate_action';
72
74
  label?: string;
73
- } & WidgetChatCertificateAction);
75
+ } & WidgetChatCertificateAction));
74
76
  export type WidgetChatMessageAttachments = {
75
77
  photos?: string[];
76
78
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escapenavigator/types",
3
- "version": "2.2.7",
3
+ "version": "2.2.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -23,7 +23,7 @@
23
23
  "reflect-metadata": "^0.1.13",
24
24
  "rxjs": "^7.5.5"
25
25
  },
26
- "gitHead": "821f81560e48bb5554575ada7f5f8b0d7597fdcb",
26
+ "gitHead": "9ea447d6c73eb90c6369653f557d15dfef025df3",
27
27
  "devDependencies": {
28
28
  "@types/validator": "13.0.0",
29
29
  "typescript": "^5.6"