@bigbinary/neeto-webhooks-frontend 3.0.14 → 3.0.16

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.
@@ -0,0 +1,113 @@
1
+ {
2
+ "neetoWebhooks": {
3
+ "common": {
4
+ "event_one": "Notikums",
5
+ "event_other": "Notikumi",
6
+ "endpoint": "Galapunkts",
7
+ "responseStatus": "Atbildes statuss",
8
+ "webhookWithCount": "{{count}} Webhooks",
9
+ "webhookWithCount_other": "{{count}} Webhooki"
10
+ },
11
+ "entity": {
12
+ "webhook": "webhook",
13
+ "configure": "Konfigurēt"
14
+ },
15
+ "buttons": {
16
+ "save": "Saglabāt",
17
+ "saveChanges": "Saglabāt izmaiņas",
18
+ "cancel": "Atcelt",
19
+ "delete": "Dzēst",
20
+ "edit": "Rediģēt",
21
+ "viewDetails": "Skatīt detaļas",
22
+ "regenerate": "Atkārtoti ģenerēt",
23
+ "generateSecretKey": "Ģenerēt slepeno atslēgu"
24
+ },
25
+ "errors": {
26
+ "webhook": {
27
+ "required": "Ievadiet savu galapunkta URL",
28
+ "invalidUrl": "Ievadiet derīgu URL",
29
+ "invalidUrlProtocol": "Ievadiet derīgu URL. URL jāuzsāk ar http vai https",
30
+ "urlNotUnique": "Galapunkta URL jābūt unikālam",
31
+ "events": {
32
+ "required": "Izvēlieties vismaz vienu webhook notikumu"
33
+ }
34
+ }
35
+ },
36
+ "delivery": {
37
+ "title": "Piegādes",
38
+ "redeliver": "Atkal piegādāt",
39
+ "redelivery": "atkārtota piegāde",
40
+ "request": "Pieprasījums",
41
+ "response": "Atbilde",
42
+ "header": "Galvene",
43
+ "body": "Saturs",
44
+ "payload": "Svars",
45
+ "deliveryId": "Piegādes ID",
46
+ "sid": "ID",
47
+ "helpDescription": "Informācija, kas saistīta ar atbildi, ko saņēmām, kad produkts mijiedarbojās ar galapunktu, kas norādīts webhook.",
48
+ "empty": {
49
+ "title": "Nav piegādes, ko varētu rādīt.",
50
+ "description": "Nav notikumu, kas tiktu nosūtīti uz šo webhook"
51
+ }
52
+ },
53
+ "webhook": {
54
+ "title": "Webhook",
55
+ "description": "Visi jauni darbību notikumu dati tiks nosūtīti uz konfigurētajām webhook URL",
56
+ "helpDescription": "Saņemiet webhook, kad notiek norādītie notikumi.",
57
+ "empty": "Nav webhook, ko varētu rādīt.",
58
+ "emptyHelpText": "Kas ir webhook?",
59
+ "add": "Pievienot jaunu webhook",
60
+ "endpoint": "Galapunkts",
61
+ "event_one": "Notikums",
62
+ "event_other": "Notikumi",
63
+ "endpointPlaceholder": "Ievadiet galapunkta URL",
64
+ "postRequestIsSentToEndpointURL": "Kad tiek aktivizēts atbilstošs notikums, mēs nosūtīsim POST pieprasījumu uz galapunkta URL.",
65
+ "eventPlaceholder": "Izvēlieties webhook notikumus",
66
+ "secret": "Slepenā atslēga (pēc izvēles)",
67
+ "secretkeyHelpTitle": "Slepenā atslēga",
68
+ "secretkeyHelpDescription": "Pievienojot slepeno atslēgu, jūs varat pārbaudīt, vai webhook pieprasījums tiešām tika nosūtīts no Neeto.",
69
+ "secretPlaceholder": "Ievadiet slepeno atslēgu",
70
+ "edit": "Rediģēt Webhook",
71
+ "active": "Aktīvs",
72
+ "activeStatuses": {
73
+ "active": "Aktīvs",
74
+ "inactive": "Neaktīvs"
75
+ },
76
+ "statusActiveHelpDescription": "Webhook šobrīd ir aktīvs. Pārslēdziet, lai to padarītu neaktīvu.",
77
+ "statusInactiveHelpDescription": "Webhook šobrīd ir neaktīvs. Pārslēdziet, lai to padarītu aktīvu.",
78
+ "version": "Versija",
79
+ "versionStatus": {
80
+ "expired": {
81
+ "title": "Webhook beidzies",
82
+ "message": "Šī webhook versija ir beigusies un nevar tikt rediģēta. Atļauta tikai dzēšana."
83
+ },
84
+ "deprecated": {
85
+ "title": "Webhook novecojusi",
86
+ "message": "Šī webhook versija ir novecojusi un nevar tikt rediģēta. Atļauta tikai dzēšana."
87
+ },
88
+ "expiresIn": {
89
+ "days": "Beidzas pēc {{count}} dienas",
90
+ "days_other": "Beidzas pēc {{count}} dienām",
91
+ "hoursAndMinutes": "Beidzas pēc {{hours}} stundas{{hoursPlural}} un {{minutes}} minūtes{{minutesPlural}}"
92
+ },
93
+ "expiredOn": "Beidzies {{date}}",
94
+ "moreDetails": "Vairāk informācijas."
95
+ }
96
+ },
97
+ "operation": {
98
+ "edit": "Rediģēt",
99
+ "delete": "Dzēst"
100
+ },
101
+ "alert": {
102
+ "delete": {
103
+ "title": "Dzēst {{entity}}?",
104
+ "message": "Jūs pastāvīgi dzēšat {{entity}}. To nevar atcelt."
105
+ }
106
+ },
107
+ "tableHeaders": {
108
+ "active": "Aktīvs",
109
+ "details": "Detaļas",
110
+ "createdAt": "Izveidots"
111
+ }
112
+ }
113
+ }
package/dist/.ready CHANGED
@@ -1 +1 @@
1
- Built at 2026-08-04T19:45:37.767Z
1
+ Built at 2026-09-11T03:45:58.402Z
@@ -796,39 +796,40 @@ var AddWebhookPane = function AddWebhookPane(_ref) {
796
796
  setIsSecretInputFieldVisible(true);
797
797
  }
798
798
  }, [webhook]);
799
- return /*#__PURE__*/jsxRuntime.jsx(formik.Form, {
800
- formikProps: {
801
- enableReinitialize: true,
802
- validationSchema: getValidationSchema(webhooks),
803
- initialValues: initialValues,
804
- onSubmit: function onSubmit(values) {
805
- return handleSubmit(getValidationSchema().cast(values));
806
- }
807
- },
808
- children: function children(_ref2) {
809
- var setFieldValue = _ref2.setFieldValue,
810
- setFieldTouched = _ref2.setFieldTouched,
811
- values = _ref2.values,
812
- isValid = _ref2.isValid,
813
- dirty = _ref2.dirty;
814
- return /*#__PURE__*/jsxRuntime.jsxs(neetoAtoms.Sheet, {
815
- isOpen: isOpen,
816
- onClose: onClose,
817
- initialFocusRef: endpointRef,
818
- size: "large",
819
- children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Sheet.Header, {
820
- children: /*#__PURE__*/jsxRuntime.jsxs(neetoAtoms.Sheet.Title, {
821
- className: "flex items-center gap-2",
822
- "data-testid": "add-new-webhook-pane-header",
823
- children: [editingWebhookId ? t("neetoWebhooks.webhook.edit") : t("neetoWebhooks.webhook.add"), /*#__PURE__*/jsxRuntime.jsx(HelpPopover, {
824
- description: t("neetoWebhooks.webhook.helpDescription"),
825
- helpLinkProps: {
826
- href: webhooksHelpLink
827
- },
828
- title: t("neetoWebhooks.webhook.title")
829
- })]
830
- })
831
- }), isLoading ? /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Sheet.Body, {
799
+ return /*#__PURE__*/jsxRuntime.jsxs(neetoAtoms.Sheet, {
800
+ isOpen: isOpen,
801
+ onClose: onClose,
802
+ initialFocusRef: endpointRef,
803
+ size: "large",
804
+ children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Sheet.Header, {
805
+ children: /*#__PURE__*/jsxRuntime.jsxs(neetoAtoms.Sheet.Title, {
806
+ className: "flex items-center gap-2",
807
+ "data-testid": "add-new-webhook-pane-header",
808
+ children: [editingWebhookId ? t("neetoWebhooks.webhook.edit") : t("neetoWebhooks.webhook.add"), /*#__PURE__*/jsxRuntime.jsx(HelpPopover, {
809
+ description: t("neetoWebhooks.webhook.helpDescription"),
810
+ helpLinkProps: {
811
+ href: webhooksHelpLink
812
+ },
813
+ title: t("neetoWebhooks.webhook.title")
814
+ })]
815
+ })
816
+ }), /*#__PURE__*/jsxRuntime.jsx(formik.Form, {
817
+ className: "flex min-h-0 flex-1 flex-col",
818
+ formikProps: {
819
+ enableReinitialize: true,
820
+ validationSchema: getValidationSchema(webhooks),
821
+ initialValues: initialValues,
822
+ onSubmit: function onSubmit(values) {
823
+ return handleSubmit(getValidationSchema().cast(values));
824
+ }
825
+ },
826
+ children: function children(_ref2) {
827
+ var setFieldValue = _ref2.setFieldValue,
828
+ setFieldTouched = _ref2.setFieldTouched,
829
+ values = _ref2.values,
830
+ isValid = _ref2.isValid,
831
+ dirty = _ref2.dirty;
832
+ return isLoading ? /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Sheet.Body, {
832
833
  children: /*#__PURE__*/jsxRuntime.jsx("div", {
833
834
  className: "flex items-center justify-center",
834
835
  children: /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Spinner, {})
@@ -942,9 +943,9 @@ var AddWebhookPane = function AddWebhookPane(_ref) {
942
943
  }
943
944
  })
944
945
  })]
945
- })]
946
- });
947
- }
946
+ });
947
+ }
948
+ })]
948
949
  });
949
950
  };
950
951