@activepieces/piece-customer-io 0.3.4 → 0.3.5

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.
package/package.json CHANGED
@@ -1,28 +1,17 @@
1
1
  {
2
2
  "name": "@activepieces/piece-customer-io",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
+ "main": "./src/index.js",
5
+ "types": "./src/index.d.ts",
4
6
  "dependencies": {
5
- "@sinclair/typebox": "0.34.11",
6
- "ai": "^6.0.0",
7
- "axios": "1.13.5",
8
- "axios-retry": "4.4.1",
7
+ "@activepieces/pieces-common": "0.11.7",
8
+ "@activepieces/pieces-framework": "0.25.6",
9
+ "@activepieces/shared": "0.40.1",
9
10
  "buffer": "6.0.3",
10
- "deepmerge-ts": "7.1.0",
11
- "form-data": "4.0.4",
12
- "mime-types": "2.1.35",
13
- "nanoid": "3.3.8",
14
- "semver": "7.6.0",
15
- "socket.io-client": "4.8.1",
16
- "zod": "4.1.13",
17
- "@activepieces/pieces-common": "0.11.6",
18
- "@activepieces/pieces-framework": "0.25.4",
19
- "@activepieces/shared": "0.37.0",
20
11
  "tslib": "2.6.2"
21
12
  },
22
- "resolutions": {
23
- "rollup": "npm:@rollup/wasm-node"
24
- },
25
- "types": "./src/index.d.ts",
26
- "main": "./src/index.js",
27
- "type": "commonjs"
13
+ "scripts": {
14
+ "build": "tsc -p tsconfig.lib.json && cp package.json dist/",
15
+ "lint": "eslint 'src/**/*.ts'"
16
+ }
28
17
  }
package/src/index.d.ts CHANGED
@@ -1,7 +1 @@
1
- export declare const customerIOAuth: import("@activepieces/pieces-framework").CustomAuthProperty<{
2
- region: import("@activepieces/pieces-framework").StaticDropdownProperty<"us" | "eu", false> | import("@activepieces/pieces-framework").StaticDropdownProperty<"us" | "eu", true>;
3
- track_site_id: import("@activepieces/pieces-framework").ShortTextProperty<true>;
4
- track_api_key: import("@activepieces/pieces-framework").ShortTextProperty<true>;
5
- api_bearer_token: import("@activepieces/pieces-framework").ShortTextProperty<true>;
6
- }>;
7
1
  export declare const customerIo: any;
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.customerIo = exports.customerIOAuth = void 0;
3
+ exports.customerIo = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const pieces_framework_1 = require("@activepieces/pieces-framework");
6
6
  const create_event_1 = require("./lib/actions/create_event");
@@ -8,6 +8,7 @@ const pieces_common_1 = require("@activepieces/pieces-common");
8
8
  const common_1 = require("./lib/common");
9
9
  const buffer_1 = require("buffer");
10
10
  const shared_1 = require("@activepieces/shared");
11
+ const auth_1 = require("./lib/auth");
11
12
  const markdown = `
12
13
  **Site ID:**\n
13
14
 
@@ -21,42 +22,12 @@ Please log in and go to Settings, click [here](https://fly.customer.io/settings/
21
22
 
22
23
  Please log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).
23
24
 
24
-
25
25
  <br>
26
26
  Please note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/docs/accounts-and-workspaces/managing-credentials/).
27
27
  `;
28
- exports.customerIOAuth = pieces_framework_1.PieceAuth.CustomAuth({
29
- props: {
30
- region: pieces_framework_1.Property.StaticDropdown({
31
- displayName: 'Region',
32
- required: true,
33
- defaultValue: 'us',
34
- options: {
35
- options: [
36
- { label: 'US', value: 'us' },
37
- { label: 'EU', value: 'eu' },
38
- ],
39
- },
40
- }),
41
- track_site_id: pieces_framework_1.Property.ShortText({
42
- displayName: 'Site ID',
43
- required: true,
44
- }),
45
- track_api_key: pieces_framework_1.Property.ShortText({
46
- displayName: 'API Key',
47
- required: true,
48
- }),
49
- api_bearer_token: pieces_framework_1.Property.ShortText({
50
- displayName: 'Bearer Token',
51
- required: true,
52
- }),
53
- },
54
- description: markdown,
55
- required: true,
56
- });
57
28
  exports.customerIo = (0, pieces_framework_1.createPiece)({
58
29
  displayName: 'customer.io',
59
- auth: exports.customerIOAuth,
30
+ auth: auth_1.customerIOAuth,
60
31
  description: 'Create personalized journeys across all channels with our customer engagement platform.',
61
32
  categories: [shared_1.PieceCategory.MARKETING],
62
33
  minimumSupportedRelease: '0.30.0',
@@ -66,7 +37,7 @@ exports.customerIo = (0, pieces_framework_1.createPiece)({
66
37
  create_event_1.createEvent,
67
38
  (0, pieces_common_1.createCustomApiCallAction)({
68
39
  baseUrl: (auth) => auth ? common_1.customerIOCommon[auth.props.region || 'us'].trackUrl : '',
69
- auth: exports.customerIOAuth,
40
+ auth: auth_1.customerIOAuth,
70
41
  name: 'custom_track_api_call',
71
42
  description: 'CustomerIO Track Custom API Call (track.customer.io)',
72
43
  displayName: 'Track Custom API Call',
@@ -78,7 +49,7 @@ exports.customerIo = (0, pieces_framework_1.createPiece)({
78
49
  }),
79
50
  (0, pieces_common_1.createCustomApiCallAction)({
80
51
  baseUrl: (auth) => auth ? common_1.customerIOCommon[auth.props.region || 'us'].apiUrl : '',
81
- auth: exports.customerIOAuth,
52
+ auth: auth_1.customerIOAuth,
82
53
  name: 'custom_app_api_call',
83
54
  description: 'CustomerIO App Custom API Call (api.customer.io)',
84
55
  displayName: 'App Custom API Call',
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/customer-io/src/index.ts"],"names":[],"mappings":";;;;AAAA,qEAIwC;AACxC,6DAAyD;AACzD,+DAAwE;AACxE,yCAAgD;AAChD,mCAAgC;AAChC,iDAAqD;AAErD,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;CAgBhB,CAAC;AACW,QAAA,cAAc,GAAG,4BAAS,CAAC,UAAU,CAAC;IACjD,KAAK,EAAE;QACL,MAAM,EAAE,2BAAQ,CAAC,cAAc,CAAc;YAC3C,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,IAAI;YACd,YAAY,EAAE,IAAI;YAClB,OAAO,EAAE;gBACP,OAAO,EAAE;oBACP,EAAE,KAAK,EAAE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= void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const pieces_framework_1 = require("@activepieces/pieces-framework");
6
- const index_1 = require("../../index");
6
+ const auth_1 = require("../auth");
7
7
  const common_1 = require("../common");
8
8
  const pieces_common_1 = require("@activepieces/pieces-common");
9
9
  exports.createEvent = (0, pieces_framework_1.createAction)({
10
- auth: index_1.customerIOAuth,
10
+ auth: auth_1.customerIOAuth,
11
11
  name: 'create_event',
12
12
  displayName: 'Create Event',
13
13
  description: 'Create an event in Customer.io',
@@ -42,7 +42,7 @@ exports.createEvent = (0, pieces_framework_1.createAction)({
42
42
  },
43
43
  }),
44
44
  body: pieces_framework_1.Property.DynamicProperties({
45
- auth: index_1.customerIOAuth,
45
+ auth: auth_1.customerIOAuth,
46
46
  displayName: 'Body',
47
47
  refreshers: ['body_type'],
48
48
  required: false,
@@ -1 +1 @@
1
- {"version":3,"file":"create_event.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/customer-io/src/lib/actions/create_event.ts"],"names":[],"mappings":";;;;AAAA,qEAA2F;AAC3F,uCAA6C;AAC7C,sCAA6C;AAC7C,+DAAqE;AAExD,QAAA,WAAW,GAAG,IAAA,+BAAY,EAAC;IACtC,IAAI,EAAE,sBAAc;IACpB,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,gCAAgC;IAC7C,KAAK,EAAE;QACL,mBAAmB,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACtC,WAAW,EAAE,qBAAqB;YAClC,WAAW,EAAE,oKAAoK;YACjL,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC7B,WAAW,EAAE,YAAY;YACzB,WAAW,EAAE,yFAAyF;YACtG,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,SAAS,EAAE,2BAAQ,CAAC,cAAc,CAAC;YACjC,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE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,CAAA;SACF,CAAC;KACH;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,EACJ,IAAI,EACJ,SAAS,GACV,GAAG,OAAO,CAAC,UAAU,CAAC;YAEvB,MAAM,eAAe,GAAG,GACtB,MAAM,CAAC,IAAI,CACT,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,EACzE,MAAM,CACP,CAAC,QAAQ,CAAC,QAAQ,CACrB,EAAE,CAAA;YAEF,MAAM,OAAO,GAAG;gBACd,aAAa,EAAE,SAAS,eAAe,EAAE;gBACzC,cAAc,EAAE,kBAAkB;aACnC,CAAA;YACD,MAAM,aAAa,GAAG,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;YACjF,MAAM,GAAG,GAAG,yBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,IAAI,CAAC,CAAC,QAAQ,GAAG,YAAY,GAAG,aAAa,GAAG,SAAS,CAAC;YAEpH,MAAM,eAAe,GAAG;gBACtB,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG;gBACH,OAAO;gBACP,IAAI,EAAE;oBACJ,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,UAAU;oBACnC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE;iBAC/B;aACF,CAAA;YACD,OAAO,MAAM,0BAAU,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;QACvD,CAAC;KAAA;CACF,CAAC,CAAA"}
@@ -0,0 +1,6 @@
1
+ export declare const customerIOAuth: import("@activepieces/pieces-framework").CustomAuthProperty<{
2
+ region: import("@activepieces/pieces-framework").StaticDropdownProperty<"us" | "eu", false> | import("@activepieces/pieces-framework").StaticDropdownProperty<"us" | "eu", true>;
3
+ track_site_id: import("@activepieces/pieces-framework").ShortTextProperty<true>;
4
+ track_api_key: import("@activepieces/pieces-framework").ShortTextProperty<true>;
5
+ api_bearer_token: import("@activepieces/pieces-framework").ShortTextProperty<true>;
6
+ }>;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.customerIOAuth = void 0;
4
+ const pieces_framework_1 = require("@activepieces/pieces-framework");
5
+ const markdown = `
6
+ **Site ID:**\n
7
+
8
+ Please log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).
9
+
10
+ **Tracking API Key:**\n
11
+
12
+ Please log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).
13
+
14
+ **APP API Token:**\n
15
+
16
+ Please log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).
17
+
18
+ <br>
19
+ Please note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/docs/accounts-and-workspaces/managing-credentials/).
20
+ `;
21
+ exports.customerIOAuth = pieces_framework_1.PieceAuth.CustomAuth({
22
+ props: {
23
+ region: pieces_framework_1.Property.StaticDropdown({
24
+ displayName: 'Region',
25
+ required: true,
26
+ defaultValue: 'us',
27
+ options: {
28
+ options: [
29
+ { label: 'US', value: 'us' },
30
+ { label: 'EU', value: 'eu' },
31
+ ],
32
+ },
33
+ }),
34
+ track_site_id: pieces_framework_1.Property.ShortText({
35
+ displayName: 'Site ID',
36
+ required: true,
37
+ }),
38
+ track_api_key: pieces_framework_1.Property.ShortText({
39
+ displayName: 'API Key',
40
+ required: true,
41
+ }),
42
+ api_bearer_token: pieces_framework_1.Property.ShortText({
43
+ displayName: 'Bearer Token',
44
+ required: true,
45
+ }),
46
+ },
47
+ description: markdown,
48
+ required: true,
49
+ });
50
+ //# sourceMappingURL=auth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../src/lib/auth.ts"],"names":[],"mappings":";;;AAAA,qEAAqE;AAErE,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;CAehB,CAAC;AAEW,QAAA,cAAc,GAAG,4BAAS,CAAC,UAAU,CAAC;IACjD,KAAK,EAAE;QACL,MAAM,EAAE,2BAAQ,CAAC,cAAc,CAAc;YAC3C,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,IAAI;YACd,YAAY,EAAE,IAAI;YAClB,OAAO,EAAE;gBACP,OAAO,EAAE;oBACP,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;oBAC5B,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;iBAC7B;aACF;SACF,CAAC;QACF,aAAa,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAChC,WAAW,EAAE,SAAS;YACtB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,aAAa,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAChC,WAAW,EAAE,SAAS;YACtB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,gBAAgB,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACnC,WAAW,EAAE,cAAc;YAC3B,QAAQ,EAAE,IAAI;SACf,CAAC;KACH;IACD,WAAW,EAAE,QAAQ;IACrB,QAAQ,EAAE,IAAI;CACf,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/customer-io/src/lib/common/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,EAAE,EAAE;QACF,QAAQ,EAAE,mCAAmC;QAC7C,MAAM,EAAE,6BAA6B;KACtC;IACD,EAAE,EAAE;QACF,QAAQ,EAAE,sCAAsC;QAChD,MAAM,EAAE,gCAAgC;KACzC;CACF,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/common/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,EAAE,EAAE;QACF,QAAQ,EAAE,mCAAmC;QAC7C,MAAM,EAAE,6BAA6B;KACtC;IACD,EAAE,EAAE;QACF,QAAQ,EAAE,sCAAsC;QAChD,MAAM,EAAE,gCAAgC;KACzC;CACF,CAAC"}
package/README.md DELETED
@@ -1,9 +0,0 @@
1
- # pieces-customer-io
2
-
3
- - Track Custom API (https://www.customer.io/docs/api/track/)
4
- - Base Custom API (https://customer.io/docs/api/app/#section/Overview)
5
- - Create Event
6
-
7
- ## Building
8
-
9
- Run `nx build pieces-customer-io` to build the library.
package/src/i18n/de.json DELETED
@@ -1,44 +0,0 @@
1
- {
2
- "Create personalized journeys across all channels with our customer engagement platform.": "Erstellen Sie personalisierte Reisen über alle Kanäle mit unserer Kundendienstplattform.",
3
- "Region": "Region",
4
- "Site ID": "Site ID",
5
- "API Key": "API-Schlüssel",
6
- "Bearer Token": "Bären-Token",
7
- "US": "MN",
8
- "EU": "EU",
9
- "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/doc": "\n**Site-ID:**\n\n\nBitte melden Sie sich an und gehen Sie zu Einstellungen, klicken Sie [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking-API-Schlüssel:**\n\n\nBitte melden Sie sich an und gehen Sie zu Einstellungen, klicken Sie [here](https://fly.customer.io/settings/api_credentials).\n\n**APP-API-Token:**\n\n\nBitte melden Sie sich an und finden Sie es in den Kontoeinstellungen, klicken Sie [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nBitte beachten Sie, dass der API-Schlüssel und der API-Schlüssel unterschiedlich sind. Sie können mehr darüber lesen [here](https://customer.io/docs/accounts-and-workspaces/managing-credentials/).\n",
10
- "Create Event": "Ereignis erstellen",
11
- "Track Custom API Call": "Eigenen API-Aufruf verfolgen",
12
- "App Custom API Call": "App-benutzerdefinierte API-Aufruf",
13
- "Create an event in Customer.io": "Ereignis in customer.io erstellen",
14
- "CustomerIO Track Custom API Call (track.customer.io)": "CustomerIO Track Custom API Call (track.customer.io)",
15
- "CustomerIO App Custom API Call (api.customer.io)": "CustomerIO App Custom API Call (api.customer.io)",
16
- "Customer identifier": "Kundenidentifikator",
17
- "Event Name": "Ereignisname",
18
- "parameters": "Parameter",
19
- "Body": "Körper",
20
- "Method": "Methode",
21
- "Headers": "Kopfzeilen",
22
- "Query Parameters": "Abfrageparameter",
23
- "Body Type": "Körpertyp",
24
- "Response is Binary ?": "Antwort ist binär?",
25
- "No Error on Failure": "Kein Fehler bei Fehler",
26
- "Timeout (in seconds)": "Timeout (in Sekunden)",
27
- "Follow redirects": "Weiterleitungen folgen",
28
- "The unique value representing a person. You may identify a person by id, email address, or the cio_id (when updating people), depending on your workspace settings": "Der einzigartige Wert, der eine Person repräsentiert. Sie können eine Person per ID, E-Mail-Adresse oder die cio_id (beim Aktualisieren von Leuten) identifizieren, abhängig von Ihren Einstellungen im Arbeitsbereich",
29
- "The name of the event. This is how you'll reference the event in campaigns or segments": "Der Name des Ereignisses. So verweisen Sie das Ereignis in Kampagnen oder Segmenten",
30
- "Event information to be sent to Customer.io": "Ereignisinformationen, die an Customer.io gesendet werden sollen",
31
- "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
32
- "Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
33
- "Key Value": "Schlüsselwert",
34
- "JSON": "JSON",
35
- "GET": "ERHALTEN",
36
- "POST": "POST",
37
- "PATCH": "PATCH",
38
- "PUT": "PUT",
39
- "DELETE": "LÖSCHEN",
40
- "HEAD": "HEAD",
41
- "None": "Keine",
42
- "Form Data": "Formulardaten",
43
- "Raw": "Rohe"
44
- }
package/src/i18n/es.json DELETED
@@ -1,44 +0,0 @@
1
- {
2
- "Create personalized journeys across all channels with our customer engagement platform.": "Cree viajes personalizados a través de todos los canales con nuestra plataforma de participación del cliente.",
3
- "Region": "Región",
4
- "Site ID": "Site ID",
5
- "API Key": "Clave API",
6
- "Bearer Token": "Tóken de portador",
7
- "US": "SUS",
8
- "EU": "EU",
9
- "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/doc": "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/docs/accounts-and-workspaces/managing-credentials/).\n",
10
- "Create Event": "Crear Evento",
11
- "Track Custom API Call": "Rastrear llamada API personalizada",
12
- "App Custom API Call": "Aplicación API Llamada",
13
- "Create an event in Customer.io": "Crear un evento en Cliente.io",
14
- "CustomerIO Track Custom API Call (track.customer.io)": "Llamada API de seguimiento CustomerIO (track.customer.io)",
15
- "CustomerIO App Custom API Call (api.customer.io)": "Aplicación CustomerIO API llamada personalizada (api.customer.io)",
16
- "Customer identifier": "Identificador de cliente",
17
- "Event Name": "Nombre del evento",
18
- "parameters": "parámetros",
19
- "Body": "Cuerpo",
20
- "Method": "Método",
21
- "Headers": "Encabezados",
22
- "Query Parameters": "Parámetros de consulta",
23
- "Body Type": "Tipo de cuerpo",
24
- "Response is Binary ?": "¿Respuesta es binaria?",
25
- "No Error on Failure": "No hay ningún error en fallo",
26
- "Timeout (in seconds)": "Tiempo de espera (en segundos)",
27
- "Follow redirects": "Seguir redirecciones",
28
- "The unique value representing a person. You may identify a person by id, email address, or the cio_id (when updating people), depending on your workspace settings": "El valor único que representa a una persona. Usted puede identificar a una persona por id, dirección de correo electrónico o el cio_id (al actualizar personas), dependiendo de la configuración de su área de trabajo",
29
- "The name of the event. This is how you'll reference the event in campaigns or segments": "El nombre del evento. Así es como referirás el evento en campañas o segmentos",
30
- "Event information to be sent to Customer.io": "Información del evento a enviar al cliente.io",
31
- "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
32
- "Enable for files like PDFs, images, etc.": "Activar para archivos como PDFs, imágenes, etc.",
33
- "Key Value": "Valor clave",
34
- "JSON": "JSON",
35
- "GET": "RECOGER",
36
- "POST": "POST",
37
- "PATCH": "PATCH",
38
- "PUT": "PUT",
39
- "DELETE": "BORRAR",
40
- "HEAD": "LIMPIO",
41
- "None": "Ninguna",
42
- "Form Data": "Datos de Formulario",
43
- "Raw": "Rápido"
44
- }
package/src/i18n/fr.json DELETED
@@ -1,44 +0,0 @@
1
- {
2
- "Create personalized journeys across all channels with our customer engagement platform.": "Créez des trajets personnalisés sur tous les canaux grâce à notre plateforme d'engagement client.",
3
- "Region": "Région",
4
- "Site ID": "Site ID",
5
- "API Key": "Clé API",
6
- "Bearer Token": "Jeton de Porteur",
7
- "US": "US",
8
- "EU": "EU",
9
- "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/doc": "\n**Identifiant du site :**\n\n\nVeuillez vous connecter et aller dans Paramètres, cliquez sur [here](https://fly.customer.io/settings/api_credentials).\n\n**Clé API de suivi :**\n\n\nVeuillez vous connecter et aller dans Paramètres, cliquez sur [here](https://fly.customer.io/settings/api_credentials).\n\n**Jeton API APP :**\n\n\nVeuillez vous connecter et le trouver dans les paramètres du compte, cliquez sur [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nVeuillez noter que la clé API Track et la clé API App sont différentes. Vous pouvez en savoir plus sur [here](https://customer.io/docs/accounts-and-workspaces/managing-credentials/).\n",
10
- "Create Event": "Créer un événement",
11
- "Track Custom API Call": "Suivre l'appel d'API personnalisé",
12
- "App Custom API Call": "Appel API personnalisé de l'application",
13
- "Create an event in Customer.io": "Créer un événement dans Customer.io",
14
- "CustomerIO Track Custom API Call (track.customer.io)": "CustomerIO Track Custom API Call (track.customer.io)",
15
- "CustomerIO App Custom API Call (api.customer.io)": "Appel API personnalisé de l'application CustomerIO (api.customer.io)",
16
- "Customer identifier": "Identifiant du client",
17
- "Event Name": "Nom de l'événement",
18
- "parameters": "paramètres",
19
- "Body": "Corps",
20
- "Method": "Méthode",
21
- "Headers": "En-têtes",
22
- "Query Parameters": "Paramètres de requête",
23
- "Body Type": "Body Type",
24
- "Response is Binary ?": "La réponse est Binaire ?",
25
- "No Error on Failure": "Aucune erreur en cas d'échec",
26
- "Timeout (in seconds)": "Délai d'attente (en secondes)",
27
- "Follow redirects": "Suivre les redirections",
28
- "The unique value representing a person. You may identify a person by id, email address, or the cio_id (when updating people), depending on your workspace settings": "La valeur unique représentant une personne. Vous pouvez identifier une personne par l'identifiant, l'adresse e-mail ou le cio_id (lors de la mise à jour des personnes), selon les paramètres de votre espace de travail",
29
- "The name of the event. This is how you'll reference the event in campaigns or segments": "Le nom de l'événement. C'est ainsi que vous référencerez l'événement dans des campagnes ou des segments",
30
- "Event information to be sent to Customer.io": "Informations sur l'événement à envoyer au client.io",
31
- "Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
32
- "Enable for files like PDFs, images, etc.": "Activer pour les fichiers comme les PDFs, les images, etc.",
33
- "Key Value": "Valeur de la clé",
34
- "JSON": "JSON",
35
- "GET": "OBTENIR",
36
- "POST": "POSTER",
37
- "PATCH": "PATCH",
38
- "PUT": "EFFACER",
39
- "DELETE": "SUPPRIMER",
40
- "HEAD": "TÊTE",
41
- "None": "Aucun",
42
- "Form Data": "Données du formulaire",
43
- "Raw": "Brut"
44
- }
package/src/i18n/ja.json DELETED
@@ -1,44 +0,0 @@
1
- {
2
- "Create personalized journeys across all channels with our customer engagement platform.": "カスタマエンゲージメントプラットフォームを使用して、すべてのチャネルでパーソナライズされた旅を作成します。",
3
- "Region": "地域",
4
- "Site ID": "Site ID",
5
- "API Key": "API キー",
6
- "Bearer Token": "ベアラートトークン",
7
- "US": "米国",
8
- "EU": "EU",
9
- "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/doc": "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/docs/accounts-and-workspaces/managing-credentials/).\n",
10
- "Create Event": "イベントを作成",
11
- "Track Custom API Call": "カスタムAPI通話を追跡",
12
- "App Custom API Call": "アプリカスタムAPI通話",
13
- "Create an event in Customer.io": "Customer.ioでイベントを作成します",
14
- "CustomerIO Track Custom API Call (track.customer.io)": "CustomerIO Track Custom API Call (track.customer.io)",
15
- "CustomerIO App Custom API Call (api.customer.io)": "CustomerIO App Custom API Call (api.customer.io)",
16
- "Customer identifier": "顧客ID",
17
- "Event Name": "イベント名",
18
- "parameters": "パラメータ",
19
- "Body": "本文",
20
- "Method": "方法",
21
- "Headers": "ヘッダー",
22
- "Query Parameters": "クエリパラメータ",
23
- "Body Type": "ボディタイプ",
24
- "Response is Binary ?": "応答はバイナリですか?",
25
- "No Error on Failure": "失敗時にエラーはありません",
26
- "Timeout (in seconds)": "タイムアウト(秒)",
27
- "Follow redirects": "リダイレクトをフォローする",
28
- "The unique value representing a person. You may identify a person by id, email address, or the cio_id (when updating people), depending on your workspace settings": "人を表すユニークな値。 ワークスペースの設定に応じて、ID、Eメールアドレス、またはCIO_ID(人を更新する場合)で個人を特定できます。",
29
- "The name of the event. This is how you'll reference the event in campaigns or segments": "イベントの名前。これはキャンペーンまたはセグメントでイベントを参照する方法です。",
30
- "Event information to be sent to Customer.io": "Customer.ioに送信されるイベント情報",
31
- "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
32
- "Enable for files like PDFs, images, etc.": "PDF、画像などのファイルを有効にする",
33
- "Key Value": "キー値",
34
- "JSON": "JSON",
35
- "GET": "取得",
36
- "POST": "POST",
37
- "PATCH": "PATCH",
38
- "PUT": "PUT",
39
- "DELETE": "削除",
40
- "HEAD": "頭",
41
- "None": "なし",
42
- "Form Data": "フォームデータ",
43
- "Raw": "Raw"
44
- }
package/src/i18n/nl.json DELETED
@@ -1,44 +0,0 @@
1
- {
2
- "Create personalized journeys across all channels with our customer engagement platform.": "Maak gepersonaliseerde ritten over alle kanalen met ons klantengagement platform.",
3
- "Region": "Regio",
4
- "Site ID": "Site ID",
5
- "API Key": "API Sleutel",
6
- "Bearer Token": "Betere Token",
7
- "US": "VS",
8
- "EU": "EU",
9
- "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/doc": "\n**Site ID:**\n\n\nLog in en ga naar Instellingen, klik [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API-sleutel:**\n\n\nLog in en ga naar Instellingen, klik [here](https://fly.customer.io/settings/api_credentials).\n\n**APP Token:**\n\n\nLog in en vind het in de accountinstellingen, klik op [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nHoud er rekening mee dat de Track API Key en App API Key verschillend zijn. U kunt er meer over lezen [here](https://customer.io/docs/accounts-and-workspaces/managing-credentials/).\n",
10
- "Create Event": "Gebeurtenis aanmaken",
11
- "Track Custom API Call": "Bijhouden van aangepaste API-oproep",
12
- "App Custom API Call": "App Aangepaste API Call",
13
- "Create an event in Customer.io": "Maak een gebeurtenis aan in Customer.io",
14
- "CustomerIO Track Custom API Call (track.customer.io)": "CustomerIO Track Custom API Call (track.customer.io)",
15
- "CustomerIO App Custom API Call (api.customer.io)": "CustomerIO App Custom API Call (api.customer.io)",
16
- "Customer identifier": "Klant identificatie",
17
- "Event Name": "Naam van gebeurtenis",
18
- "parameters": "parameters",
19
- "Body": "Lichaam",
20
- "Method": "Methode",
21
- "Headers": "Kopteksten",
22
- "Query Parameters": "Query parameters",
23
- "Body Type": "Type lichaam",
24
- "Response is Binary ?": "Antwoord is binair?",
25
- "No Error on Failure": "Geen fout bij fout",
26
- "Timeout (in seconds)": "Time-out (in seconden)",
27
- "Follow redirects": "Volg omleidingen",
28
- "The unique value representing a person. You may identify a person by id, email address, or the cio_id (when updating people), depending on your workspace settings": "De unieke waarde die een persoon vertegenwoordigt. U kunt een persoon per id, e-mailadres of het cio_id (bij het bijwerken van mensen) identificeren, afhankelijk van uw workspace-instellingen",
29
- "The name of the event. This is how you'll reference the event in campaigns or segments": "De naam van het evenement. Dit is hoe je naar het evenement verwijst in campagnes of segmenten",
30
- "Event information to be sent to Customer.io": "Evenement informatie te worden verzonden naar klant.io",
31
- "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
32
- "Enable for files like PDFs, images, etc.": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc.",
33
- "Key Value": "Toets waarde",
34
- "JSON": "JSON",
35
- "GET": "KRIJG",
36
- "POST": "POSTE",
37
- "PATCH": "BEKIJK",
38
- "PUT": "PUT",
39
- "DELETE": "VERWIJDEREN",
40
- "HEAD": "HOOFD",
41
- "None": "geen",
42
- "Form Data": "Formulieren gegevens",
43
- "Raw": "Onbewerkte"
44
- }
package/src/i18n/pt.json DELETED
@@ -1,44 +0,0 @@
1
- {
2
- "Create personalized journeys across all channels with our customer engagement platform.": "Crie jornadas personalizadas através de todos os canais com nossa plataforma de envolvimento de clientes.",
3
- "Region": "Região",
4
- "Site ID": "Site ID",
5
- "API Key": "Chave de API",
6
- "Bearer Token": "Token do portador",
7
- "US": "EUA",
8
- "EU": "EU",
9
- "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/doc": "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/docs/accounts-and-workspaces/managing-credentials/).\n",
10
- "Create Event": "Criar evento",
11
- "Track Custom API Call": "Rastrear chamada de API personalizada",
12
- "App Custom API Call": "Chamada de API personalizada do aplicativo",
13
- "Create an event in Customer.io": "Criar um evento em Customer.io",
14
- "CustomerIO Track Custom API Call (track.customer.io)": "Chamada personalizada API do controle do cliente (track.customer.io)",
15
- "CustomerIO App Custom API Call (api.customer.io)": "CustomerIO App Chamada API personalizada (api.customer.io)",
16
- "Customer identifier": "Identificador de cliente",
17
- "Event Name": "Nome do Evento",
18
- "parameters": "Parâmetros",
19
- "Body": "Conteúdo",
20
- "Method": "Método",
21
- "Headers": "Cabeçalhos",
22
- "Query Parameters": "Parâmetros da consulta",
23
- "Body Type": "Tipo de Corpo",
24
- "Response is Binary ?": "A resposta é binária ?",
25
- "No Error on Failure": "Nenhum erro no Failure",
26
- "Timeout (in seconds)": "Tempo limite (em segundos)",
27
- "Follow redirects": "Seguir redirecionamentos",
28
- "The unique value representing a person. You may identify a person by id, email address, or the cio_id (when updating people), depending on your workspace settings": "O valor único que representa uma pessoa. Você pode identificar uma pessoa por id, endereço de e-mail ou cio_id (ao atualizar pessoas), dependendo das configurações da sua área de trabalho",
29
- "The name of the event. This is how you'll reference the event in campaigns or segments": "O nome do evento. É assim que você referirá o evento em campanhas ou segmentos",
30
- "Event information to be sent to Customer.io": "Informação do evento a ser enviado para o Cliente.io",
31
- "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
32
- "Enable for files like PDFs, images, etc.": "Habilitar para arquivos como PDFs, imagens, etc.",
33
- "Key Value": "Valor Chave",
34
- "JSON": "JSON",
35
- "GET": "OBTER",
36
- "POST": "POSTAR",
37
- "PATCH": "COMPRAR",
38
- "PUT": "COLOCAR",
39
- "DELETE": "EXCLUIR",
40
- "HEAD": "CABEÇA",
41
- "None": "Nenhuma",
42
- "Form Data": "Dados de Formulário",
43
- "Raw": "RAW"
44
- }
package/src/i18n/ru.json DELETED
@@ -1,38 +0,0 @@
1
- {
2
- "customer.io": "customer.io",
3
- "Create personalized journeys across all channels with our customer engagement platform.": "Создавайте персонализированные маршруты по всем каналам с нашей платформой.",
4
- "Region": "Регион",
5
- "Site ID": "Site ID",
6
- "API Key": "Ключ API",
7
- "Bearer Token": "Жетон носителя",
8
- "US": "США",
9
- "EU": "EU",
10
- "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/doc": "\n**ID сайта:**\n\n\nПожалуйста, войдите в систему и перейдите в Настройки, нажмите [here](https://fly.customer.io/settings/api_credentials).\n\n**Ключ Отслеживания API:**\n\n\nПожалуйста, войдите в систему и перейдите в Настройки, нажмите [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API токен:**\n\n\nПожалуйста, войдите в систему и найдите её в настройках аккаунта, нажмите [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nПожалуйста, обратите внимание на то, что ключ API и ключ API различаются. Подробнее об этом можно прочитать [here](https://customer.io/docs/accounts-and-workspaces/managing-credentials/).\n",
11
- "Create Event": "Создать событие",
12
- "Track Custom API Call": "Отслеживать пользовательский вызов API",
13
- "App Custom API Call": "Пользовательский API-вызов приложения",
14
- "Create an event in Customer.io": "Создать событие в Customer.io",
15
- "CustomerIO Track Custom API Call (track.customer.io)": "CustomerIO Track Custom API Call (track.customer.io)",
16
- "CustomerIO App Custom API Call (api.customer.io)": "CustomerIO App Custom API Call (api.customer.io)",
17
- "Customer identifier": "Идентификатор клиента",
18
- "Event Name": "Название события",
19
- "parameters": "параметры",
20
- "Body": "Тело",
21
- "Method": "Метод",
22
- "Headers": "Заголовки",
23
- "Query Parameters": "Параметры запроса",
24
- "No Error on Failure": "Нет ошибок при ошибке",
25
- "Timeout (in seconds)": "Таймаут (в секундах)",
26
- "The unique value representing a person. You may identify a person by id, email address, or the cio_id (when updating people), depending on your workspace settings": "Уникальное значение, представляющее человека. Вы можете идентифицировать человека по идентификатору, адресу электронной почты или cio_id (при обновлении людей), в зависимости от настроек проекта",
27
- "The name of the event. This is how you'll reference the event in campaigns or segments": "Название события. Так вы будете ссылаться на событие в кампаниях или сегментах",
28
- "Event information to be sent to Customer.io": "Информация о событиях для отправки на Customer.io",
29
- "Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
30
- "Key Value": "Ключевое значение",
31
- "JSON": "JSON",
32
- "GET": "ПОЛУЧИТЬ",
33
- "POST": "ПОСТ",
34
- "PATCH": "ПАТЧ",
35
- "PUT": "ПОКУПИТЬ",
36
- "DELETE": "УДАЛИТЬ",
37
- "HEAD": "HEAD"
38
- }
@@ -1,44 +0,0 @@
1
- {
2
- "Create personalized journeys across all channels with our customer engagement platform.": "Create personalized journeys across all channels with our customer engagement platform.",
3
- "Region": "Region",
4
- "Site ID": "Site ID",
5
- "API Key": "API Key",
6
- "Bearer Token": "Bearer Token",
7
- "US": "US",
8
- "EU": "EU",
9
- "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/doc": "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/docs/accounts-and-workspaces/managing-credentials/).\n",
10
- "Create Event": "Create Event",
11
- "Track Custom API Call": "Track Custom API Call",
12
- "App Custom API Call": "App Custom API Call",
13
- "Create an event in Customer.io": "Create an event in Customer.io",
14
- "CustomerIO Track Custom API Call (track.customer.io)": "CustomerIO Track Custom API Call (track.customer.io)",
15
- "CustomerIO App Custom API Call (api.customer.io)": "CustomerIO App Custom API Call (api.customer.io)",
16
- "Customer identifier": "Customer identifier",
17
- "Event Name": "Event Name",
18
- "parameters": "parameters",
19
- "Body": "Body",
20
- "Method": "Method",
21
- "Headers": "Headers",
22
- "Query Parameters": "Query Parameters",
23
- "Body Type": "Body Type",
24
- "Response is Binary ?": "Response is Binary ?",
25
- "No Error on Failure": "No Error on Failure",
26
- "Timeout (in seconds)": "Timeout (in seconds)",
27
- "Follow redirects": "Follow redirects",
28
- "The unique value representing a person. You may identify a person by id, email address, or the cio_id (when updating people), depending on your workspace settings": "The unique value representing a person. You may identify a person by id, email address, or the cio_id (when updating people), depending on your workspace settings",
29
- "The name of the event. This is how you'll reference the event in campaigns or segments": "The name of the event. This is how you'll reference the event in campaigns or segments",
30
- "Event information to be sent to Customer.io": "Event information to be sent to Customer.io",
31
- "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
32
- "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
33
- "Key Value": "Key Value",
34
- "JSON": "JSON",
35
- "GET": "GET",
36
- "POST": "POST",
37
- "PATCH": "PATCH",
38
- "PUT": "PUT",
39
- "DELETE": "DELETE",
40
- "HEAD": "HEAD",
41
- "None": "None",
42
- "Form Data": "Form Data",
43
- "Raw": "Raw"
44
- }
package/src/i18n/vi.json DELETED
@@ -1,38 +0,0 @@
1
- {
2
- "customer.io": "customer.io",
3
- "Create personalized journeys across all channels with our customer engagement platform.": "Create personalized journeys across all channels with our customer engagement platform.",
4
- "Region": "Region",
5
- "Site ID": "Site ID",
6
- "API Key": "API Key",
7
- "Bearer Token": "Bearer Token",
8
- "US": "US",
9
- "EU": "EU",
10
- "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/doc": "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/docs/accounts-and-workspaces/managing-credentials/).\n",
11
- "Create Event": "Create Event",
12
- "Track Custom API Call": "Track Custom API Call",
13
- "App Custom API Call": "App Custom API Call",
14
- "Create an event in Customer.io": "Create an event in Customer.io",
15
- "CustomerIO Track Custom API Call (track.customer.io)": "CustomerIO Track Custom API Call (track.customer.io)",
16
- "CustomerIO App Custom API Call (api.customer.io)": "CustomerIO App Custom API Call (api.customer.io)",
17
- "Customer identifier": "Customer identifier",
18
- "Event Name": "Event Name",
19
- "parameters": "parameters",
20
- "Body": "Body",
21
- "Method": "Method",
22
- "Headers": "Headers",
23
- "Query Parameters": "Query Parameters",
24
- "No Error on Failure": "No Error on Failure",
25
- "Timeout (in seconds)": "Timeout (in seconds)",
26
- "The unique value representing a person. You may identify a person by id, email address, or the cio_id (when updating people), depending on your workspace settings": "The unique value representing a person. You may identify a person by id, email address, or the cio_id (when updating people), depending on your workspace settings",
27
- "The name of the event. This is how you'll reference the event in campaigns or segments": "The name of the event. This is how you'll reference the event in campaigns or segments",
28
- "Event information to be sent to Customer.io": "Event information to be sent to Customer.io",
29
- "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
30
- "Key Value": "Key Value",
31
- "JSON": "JSON",
32
- "GET": "GET",
33
- "POST": "POST",
34
- "PATCH": "PATCH",
35
- "PUT": "PUT",
36
- "DELETE": "DELETE",
37
- "HEAD": "HEAD"
38
- }
package/src/i18n/zh.json DELETED
@@ -1,44 +0,0 @@
1
- {
2
- "Create personalized journeys across all channels with our customer engagement platform.": "Create personalized journeys across all channels with our customer engagement platform.",
3
- "Region": "Region",
4
- "Site ID": "Site ID",
5
- "API Key": "API 密钥",
6
- "Bearer Token": "Bearer Token",
7
- "US": "US",
8
- "EU": "EU",
9
- "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/doc": "\n**Site ID:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**Tracking API Key:**\n\n\nPlease log in and go to Settings, click [here](https://fly.customer.io/settings/api_credentials).\n\n**APP API Token:**\n\n\nPlease log in and find it in Account Settings, click [here](https://fly.customer.io/settings/api_credentials?keyType=app).\n\n\n<br>\nPlease note that the Track API Key and App API Key are different. You can read more about it [here](https://customer.io/docs/accounts-and-workspaces/managing-credentials/).\n",
10
- "Create Event": "Create Event",
11
- "Track Custom API Call": "Track Custom API Call",
12
- "App Custom API Call": "App Custom API Call",
13
- "Create an event in Customer.io": "Create an event in Customer.io",
14
- "CustomerIO Track Custom API Call (track.customer.io)": "CustomerIO Track Custom API Call (track.customer.io)",
15
- "CustomerIO App Custom API Call (api.customer.io)": "CustomerIO App Custom API Call (api.customer.io)",
16
- "Customer identifier": "Customer identifier",
17
- "Event Name": "Event Name",
18
- "parameters": "parameters",
19
- "Body": "正文内容",
20
- "Method": "方法",
21
- "Headers": "信头",
22
- "Query Parameters": "查询参数",
23
- "Body Type": "Body Type",
24
- "Response is Binary ?": "Response is Binary ?",
25
- "No Error on Failure": "失败时没有错误",
26
- "Timeout (in seconds)": "超时(秒)",
27
- "Follow redirects": "Follow redirects",
28
- "The unique value representing a person. You may identify a person by id, email address, or the cio_id (when updating people), depending on your workspace settings": "The unique value representing a person. You may identify a person by id, email address, or the cio_id (when updating people), depending on your workspace settings",
29
- "The name of the event. This is how you'll reference the event in campaigns or segments": "The name of the event. This is how you'll reference the event in campaigns or segments",
30
- "Event information to be sent to Customer.io": "Event information to be sent to Customer.io",
31
- "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
32
- "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
33
- "Key Value": "Key Value",
34
- "JSON": "JSON",
35
- "GET": "获取",
36
- "POST": "帖子",
37
- "PATCH": "PATCH",
38
- "PUT": "弹出",
39
- "DELETE": "删除",
40
- "HEAD": "黑色",
41
- "None": "无",
42
- "Form Data": "表单数据",
43
- "Raw": "原始文件"
44
- }