@segment/action-destinations 3.304.0 → 3.305.0

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.
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const postSheet_1 = __importDefault(require("./postSheet"));
7
+ const postSheet2_1 = __importDefault(require("./postSheet2"));
7
8
  const destination = {
8
9
  name: 'Google Sheets',
9
10
  slug: 'actions-google-sheets',
@@ -32,7 +33,8 @@ const destination = {
32
33
  };
33
34
  },
34
35
  actions: {
35
- postSheet: postSheet_1.default
36
+ postSheet: postSheet_1.default,
37
+ postSheet2: postSheet2_1.default
36
38
  }
37
39
  };
38
40
  exports.default = destination;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/google-sheets/index.ts"],"names":[],"mappings":";;;;;AAGA,4DAAmC;AAQnC,MAAM,WAAW,GAAoC;IACnD,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,uBAAuB;IAC7B,IAAI,EAAE,OAAO;IAEb,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE,EAAE;QAMV,kBAAkB,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;YAC9C,MAAM,GAAG,GAAG,MAAM,OAAO,CAAuB,4CAA4C,EAAE;gBAC5F,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE,IAAI,eAAe,CAAC;oBACxB,aAAa,EAAE,IAAI,CAAC,YAAY;oBAChC,SAAS,EAAE,IAAI,CAAC,QAAQ;oBACxB,aAAa,EAAE,IAAI,CAAC,YAAY;oBAChC,UAAU,EAAE,eAAe;iBAC5B,CAAC;aACH,CAAC,CAAA;YAEF,OAAO,EAAE,WAAW,EAAE,GAAG,CAAC,IAAI,CAAC,YAAY,EAAE,CAAA;QAC/C,CAAC;KACF;IACD,aAAa,CAAC,EAAE,IAAI,EAAE;QACpB,OAAO;YACL,OAAO,EAAE;gBACP,aAAa,EAAE,UAAU,IAAI,EAAE,WAAW,EAAE;aAC7C;SACF,CAAA;IACH,CAAC;IAQD,OAAO,EAAE;QACP,SAAS,EAAT,mBAAS;KACV;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/google-sheets/index.ts"],"names":[],"mappings":";;;;;AAGA,4DAAmC;AACnC,8DAAqC;AAQrC,MAAM,WAAW,GAAoC;IACnD,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,uBAAuB;IAC7B,IAAI,EAAE,OAAO;IAEb,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE,EAAE;QAMV,kBAAkB,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;YAC9C,MAAM,GAAG,GAAG,MAAM,OAAO,CAAuB,4CAA4C,EAAE;gBAC5F,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE,IAAI,eAAe,CAAC;oBACxB,aAAa,EAAE,IAAI,CAAC,YAAY;oBAChC,SAAS,EAAE,IAAI,CAAC,QAAQ;oBACxB,aAAa,EAAE,IAAI,CAAC,YAAY;oBAChC,UAAU,EAAE,eAAe;iBAC5B,CAAC;aACH,CAAC,CAAA;YAEF,OAAO,EAAE,WAAW,EAAE,GAAG,CAAC,IAAI,CAAC,YAAY,EAAE,CAAA;QAC/C,CAAC;KACF;IACD,aAAa,CAAC,EAAE,IAAI,EAAE;QACpB,OAAO;YACL,OAAO,EAAE;gBACP,aAAa,EAAE,UAAU,IAAI,EAAE,WAAW,EAAE;aAC7C;SACF,CAAA;IACH,CAAC;IAQD,OAAO,EAAE;QACP,SAAS,EAAT,mBAAS;QACT,UAAU,EAAV,oBAAU;KACX;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
@@ -0,0 +1,10 @@
1
+ export interface Payload {
2
+ record_identifier: string;
3
+ spreadsheet_id: string;
4
+ spreadsheet_name: string;
5
+ data_format: string;
6
+ fields: {
7
+ [k: string]: unknown;
8
+ };
9
+ enable_batching?: boolean;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=generated-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/google-sheets/postSheet2/generated-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { ActionDefinition } from '@segment/actions-core';
2
+ import type { Settings } from '../generated-types';
3
+ import type { Payload } from './generated-types';
4
+ declare const action: ActionDefinition<Settings, Payload>;
5
+ export default action;
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const actions_core_1 = require("@segment/actions-core");
4
+ const operations2_1 = require("./operations2");
5
+ const action = {
6
+ title: 'Post Sheet (Simplified)',
7
+ description: 'Write values to a Google Sheets spreadsheet.',
8
+ defaultSubscription: 'event = "updated" or event = "new"',
9
+ syncMode: {
10
+ description: 'Define how the records from your destination will be synced.',
11
+ label: 'How to sync records',
12
+ default: 'upsert',
13
+ choices: [
14
+ {
15
+ label: 'If a record with the specified identifier is found, it will be updated. If not, a new row will be created.',
16
+ value: 'upsert'
17
+ },
18
+ {
19
+ label: "Add a new record when the specified identifier doesn't exist. If it does, it will be skipped.",
20
+ value: 'add'
21
+ },
22
+ {
23
+ label: "Update a record if a match with the specified identifier is found. Do nothing if the row doesn't exist.",
24
+ value: 'update'
25
+ }
26
+ ]
27
+ },
28
+ fields: {
29
+ record_identifier: {
30
+ label: 'Record Identifier',
31
+ description: 'Property which uniquely identifies each row in the spreadsheet.',
32
+ type: 'string',
33
+ required: true,
34
+ default: { '@path': '$.__segment_id' }
35
+ },
36
+ spreadsheet_id: {
37
+ label: 'Spreadsheet ID',
38
+ description: 'The identifier of the spreadsheet. You can find this value in the URL of the spreadsheet. e.g. https://docs.google.com/spreadsheets/d/{SPREADSHEET_ID}/edit',
39
+ type: 'string',
40
+ required: true,
41
+ default: ''
42
+ },
43
+ spreadsheet_name: {
44
+ label: 'Spreadsheet Name',
45
+ description: 'The name of the spreadsheet. You can find this value on the tab at the bottom of the spreadsheet. Please provide a valid name of a sheet that already exists.',
46
+ type: 'string',
47
+ required: true,
48
+ default: 'Sheet1'
49
+ },
50
+ data_format: {
51
+ label: 'Data Format',
52
+ description: 'The way Google will interpret values. If you select raw, values will not be parsed and will be stored as-is. If you select user entered, values will be parsed as if you typed them into the UI. Numbers will stay as numbers, but strings may be converted to numbers, dates, etc. following the same rules that are applied when entering text into a cell via the Google Sheets UI.',
53
+ type: 'string',
54
+ required: true,
55
+ default: 'RAW',
56
+ choices: [
57
+ { label: 'Raw', value: 'RAW' },
58
+ { label: 'User Entered', value: 'USER_ENTERED' }
59
+ ]
60
+ },
61
+ fields: {
62
+ label: 'Fields',
63
+ description: `
64
+ The fields to write to the spreadsheet.
65
+
66
+ On the left-hand side, input the name of the field as it will appear in the Google Sheet.
67
+
68
+ On the right-hand side, select the field from your data model that maps to the given field in your sheet.
69
+
70
+ ---
71
+
72
+ `,
73
+ type: 'object',
74
+ required: true,
75
+ defaultObjectUI: 'keyvalue:only'
76
+ },
77
+ enable_batching: {
78
+ type: 'boolean',
79
+ label: 'Batch Data to Google Sheets',
80
+ description: 'Set as true to ensure Segment sends data to Google Sheets in batches. Please do not set to false.',
81
+ default: true
82
+ }
83
+ },
84
+ perform: (request, { payload, syncMode }) => {
85
+ if (!syncMode) {
86
+ throw new actions_core_1.IntegrationError('Sync mode is required for this action.', 'INVALID_REQUEST_DATA', 400);
87
+ }
88
+ return operations2_1.processData(request, [payload], syncMode);
89
+ },
90
+ performBatch: (request, { payload, syncMode }) => {
91
+ if (!syncMode) {
92
+ throw new actions_core_1.IntegrationError('Sync mode is required for this action.', 'INVALID_REQUEST_DATA', 400);
93
+ }
94
+ return operations2_1.processData(request, payload, syncMode);
95
+ }
96
+ };
97
+ exports.default = action;
98
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/google-sheets/postSheet2/index.ts"],"names":[],"mappings":";;AAAA,wDAA0E;AAI1E,+CAA2C;AAE3C,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,yBAAyB;IAChC,WAAW,EAAE,8CAA8C;IAC3D,mBAAmB,EAAE,oCAAoC;IACzD,QAAQ,EAAE;QACR,WAAW,EAAE,8DAA8D;QAC3E,KAAK,EAAE,qBAAqB;QAC5B,OAAO,EAAE,QAAQ;QACjB,OAAO,EAAE;YACP;gBACE,KAAK,EACH,4GAA4G;gBAC9G,KAAK,EAAE,QAAQ;aAChB;YACD;gBACE,KAAK,EAAE,+FAA+F;gBACtG,KAAK,EAAE,KAAK;aACb;YACD;gBACE,KAAK,EACH,yGAAyG;gBAC3G,KAAK,EAAE,QAAQ;aAChB;SACF;KACF;IAED,MAAM,EAAE;QACN,iBAAiB,EAAE;YACjB,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EAAE,iEAAiE;YAC9E,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,gBAAgB,EAAE;SACvC;QACD,cAAc,EAAE;YACd,KAAK,EAAE,gBAAgB;YACvB,WAAW,EACT,6JAA6J;YAC/J,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,EAAE;SACZ;QACD,gBAAgB,EAAE;YAChB,KAAK,EAAE,kBAAkB;YACzB,WAAW,EACT,+JAA+J;YACjK,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,QAAQ;SAClB;QACD,WAAW,EAAE;YACX,KAAK,EAAE,aAAa;YACpB,WAAW,EACT,wXAAwX;YAC1X,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,KAAK;YACd,OAAO,EAAE;gBACP,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;gBAC9B,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;aACjD;SACF;QACD,MAAM,EAAE;YACN,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE;;;;;;;;;GAShB;YACG,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,eAAe,EAAE,eAAe;SACjC;QACD,eAAe,EAAE;YACf,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,6BAA6B;YACpC,WAAW,EAAE,mGAAmG;YAChH,OAAO,EAAE,IAAI;SACd;KACF;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;QAC1C,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,IAAI,+BAAgB,CAAC,wCAAwC,EAAE,sBAAsB,EAAE,GAAG,CAAC,CAAA;SAClG;QACD,OAAO,yBAAW,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAA;IAClD,CAAC;IACD,YAAY,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;QAC/C,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,IAAI,+BAAgB,CAAC,wCAAwC,EAAE,sBAAsB,EAAE,GAAG,CAAC,CAAA;SAClG;QACD,OAAO,yBAAW,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAA;IAChD,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { Payload } from './generated-types';
2
+ import { RequestClient } from '@segment/actions-core';
3
+ export declare type MappingSettings = {
4
+ spreadsheetId: string;
5
+ spreadsheetName: string;
6
+ dataFormat: string;
7
+ columns: string[];
8
+ };
9
+ declare function processData(request: RequestClient, events: Payload[], syncMode: string): Promise<(import("@segment/actions-core").ModifiedResponse<unknown> | undefined)[]>;
10
+ export { processData };
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.processData = void 0;
7
+ const actions_core_1 = require("@segment/actions-core");
8
+ const index_1 = require("../googleapis/index");
9
+ const constants_1 = require("../constants");
10
+ const a1_notation_1 = __importDefault(require("@segment/a1-notation"));
11
+ const DATA_ROW_OFFSET = 2;
12
+ const generateColumnValuesFromFields = (identifier, fields, columns) => {
13
+ const retVal = columns.map((col) => fields[col] ?? '');
14
+ retVal.unshift(identifier);
15
+ return retVal;
16
+ };
17
+ function processGetSpreadsheetResponse(response, events, mappingSettings, syncMode) {
18
+ const numColumns = mappingSettings.columns.length;
19
+ const numRows = response.values?.length;
20
+ if (numRows * numColumns > constants_1.CONSTANTS.MAX_CELLS) {
21
+ throw new actions_core_1.IntegrationError('Sheet has reached maximum limit', 'INVALID_REQUEST_DATA', 400);
22
+ }
23
+ const updateBatch = [];
24
+ const appendBatch = [];
25
+ const eventMap = new Map(events.map((e) => [e.record_identifier, e]));
26
+ if (response.values && response.values.length > 0) {
27
+ for (let i = 0; i < response.values.length; i++) {
28
+ const targetIdentifier = response.values[i][0];
29
+ if (eventMap.has(targetIdentifier)) {
30
+ const targetEvent = eventMap.get(targetIdentifier);
31
+ if (syncMode == 'upsert' || syncMode == 'update') {
32
+ updateBatch.push({
33
+ identifier: targetIdentifier,
34
+ event: targetEvent.fields,
35
+ index: i
36
+ });
37
+ }
38
+ eventMap.delete(targetIdentifier);
39
+ }
40
+ }
41
+ }
42
+ eventMap.forEach((value, key) => {
43
+ if (syncMode == 'upsert' || syncMode == 'add') {
44
+ appendBatch.push({
45
+ identifier: key,
46
+ event: value.fields
47
+ });
48
+ }
49
+ });
50
+ return { appendBatch, updateBatch };
51
+ }
52
+ async function processUpdateBatch(mappingSettings, updateBatch, gs) {
53
+ const getRange = (targetIndex, columnCount) => {
54
+ const targetRange = new a1_notation_1.default(1, targetIndex);
55
+ targetRange.addX(columnCount);
56
+ return targetRange.toString();
57
+ };
58
+ const batchPayload = updateBatch.map(({ identifier, event, index }) => {
59
+ const values = generateColumnValuesFromFields(identifier, event, mappingSettings.columns);
60
+ return {
61
+ range: `${mappingSettings.spreadsheetName}!${getRange(index + DATA_ROW_OFFSET, values.length)}`,
62
+ values: [values]
63
+ };
64
+ });
65
+ const headerRowRange = new a1_notation_1.default(1, 1, 1, mappingSettings.columns.length + 1);
66
+ batchPayload.push({
67
+ range: `${mappingSettings.spreadsheetName}!${headerRowRange.toString()}`,
68
+ values: [['id', ...mappingSettings.columns]]
69
+ });
70
+ return gs.batchUpdate(mappingSettings, batchPayload);
71
+ }
72
+ async function processAppendBatch(mappingSettings, appendBatch, gs) {
73
+ if (appendBatch.length <= 0) {
74
+ return;
75
+ }
76
+ const values = appendBatch.map(({ identifier, event }) => generateColumnValuesFromFields(identifier, event, mappingSettings.columns));
77
+ return gs.append(mappingSettings, `A${DATA_ROW_OFFSET}`, values);
78
+ }
79
+ async function processData(request, events, syncMode) {
80
+ const mappingSettings = {
81
+ spreadsheetId: events[0].spreadsheet_id,
82
+ spreadsheetName: events[0].spreadsheet_name,
83
+ dataFormat: events[0].data_format,
84
+ columns: Object.getOwnPropertyNames(events[0].fields)
85
+ };
86
+ const gs = new index_1.GoogleSheets(request);
87
+ const response = await gs.get(mappingSettings, `A${DATA_ROW_OFFSET}:A`);
88
+ const { appendBatch, updateBatch } = processGetSpreadsheetResponse(response.data, events, mappingSettings, syncMode);
89
+ const promises = [
90
+ processUpdateBatch(mappingSettings, updateBatch, gs),
91
+ processAppendBatch(mappingSettings, appendBatch, gs)
92
+ ];
93
+ return await Promise.all(promises);
94
+ }
95
+ exports.processData = processData;
96
+ //# sourceMappingURL=operations2.js.map
@@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AAsB,EAAE,MAAiB,EAAE,QAAgB;IAEpF,MAAM,eAAe,GAAG;QACtB,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,cAAc;QACvC,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,gBAAgB;QAC3C,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW;QACjC,OAAO,EAAE,MAAM,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;KACtD,CAAA;IAED,MAAM,EAAE,GAAiB,IAAI,oBAAY,CAAC,OAAO,CAAC,CAAA;IAGlD,MAAM,QAAQ,GAAG,MAAM,EAAE,CAAC,GAAG,CAAC,eAAe,EAAE,IAAI,eAAe,IAAI,CAAC,CAAA;IAGvE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,GAAG,6BAA6B,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,CAAC,CAAA;IAEpH,MAAM,QAAQ,GAAG;QACf,kBAAkB,CAAC,eAAe,EAAE,WAAW,EAAE,EAAE,CAAC;QACpD,kBAAkB,CAAC,eAAe,EAAE,WAAW,EAAE,EAAE,CAAC;KACrD,CAAA;IAED,OAAO,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;AACpC,CAAC;AAEQ,kCAAW"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@segment/action-destinations",
3
3
  "description": "Destination Actions engine and definitions.",
4
- "version": "3.304.0",
4
+ "version": "3.305.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/segmentio/action-destinations",
@@ -87,5 +87,5 @@
87
87
  "__tests__/__helpers__/"
88
88
  ]
89
89
  },
90
- "gitHead": "a01e33950217c067c005dcf0ce9890e688c25273"
90
+ "gitHead": "c5b6298d3178d116a6b3b67af704cc525aefc518"
91
91
  }