@scopieflows/app-microsoft-excel-365 0.3.2

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 (117) hide show
  1. package/README.md +7 -0
  2. package/package.json +30 -0
  3. package/src/i18n/ca.json +92 -0
  4. package/src/i18n/de.json +167 -0
  5. package/src/i18n/es.json +167 -0
  6. package/src/i18n/fr.json +167 -0
  7. package/src/i18n/hi.json +92 -0
  8. package/src/i18n/id.json +92 -0
  9. package/src/i18n/ja.json +167 -0
  10. package/src/i18n/nl.json +167 -0
  11. package/src/i18n/pt.json +167 -0
  12. package/src/i18n/ru.json +98 -0
  13. package/src/i18n/translation.json +167 -0
  14. package/src/i18n/vi.json +98 -0
  15. package/src/i18n/zh.json +167 -0
  16. package/src/index.d.ts +2 -0
  17. package/src/index.js +128 -0
  18. package/src/index.js.map +1 -0
  19. package/src/lib/actions/add-worksheet.d.ts +4 -0
  20. package/src/lib/actions/add-worksheet.js +43 -0
  21. package/src/lib/actions/add-worksheet.js.map +1 -0
  22. package/src/lib/actions/append-multiple-rows.d.ts +35 -0
  23. package/src/lib/actions/append-multiple-rows.js +225 -0
  24. package/src/lib/actions/append-multiple-rows.js.map +1 -0
  25. package/src/lib/actions/append-row.d.ts +6 -0
  26. package/src/lib/actions/append-row.js +57 -0
  27. package/src/lib/actions/append-row.js.map +1 -0
  28. package/src/lib/actions/append-table-rows.d.ts +6 -0
  29. package/src/lib/actions/append-table-rows.js +41 -0
  30. package/src/lib/actions/append-table-rows.js.map +1 -0
  31. package/src/lib/actions/clear-cells-by-range.d.ts +6 -0
  32. package/src/lib/actions/clear-cells-by-range.js +68 -0
  33. package/src/lib/actions/clear-cells-by-range.js.map +1 -0
  34. package/src/lib/actions/clear-column-by-index.d.ts +6 -0
  35. package/src/lib/actions/clear-column-by-index.js +74 -0
  36. package/src/lib/actions/clear-column-by-index.js.map +1 -0
  37. package/src/lib/actions/clear-row-by-id.d.ts +6 -0
  38. package/src/lib/actions/clear-row-by-id.js +70 -0
  39. package/src/lib/actions/clear-row-by-id.js.map +1 -0
  40. package/src/lib/actions/clear-worksheet.d.ts +5 -0
  41. package/src/lib/actions/clear-worksheet.js +52 -0
  42. package/src/lib/actions/clear-worksheet.js.map +1 -0
  43. package/src/lib/actions/convert-to-range.d.ts +5 -0
  44. package/src/lib/actions/convert-to-range.js +36 -0
  45. package/src/lib/actions/convert-to-range.js.map +1 -0
  46. package/src/lib/actions/create-table.d.ts +7 -0
  47. package/src/lib/actions/create-table.js +93 -0
  48. package/src/lib/actions/create-table.js.map +1 -0
  49. package/src/lib/actions/create-workbook.d.ts +4 -0
  50. package/src/lib/actions/create-workbook.js +45 -0
  51. package/src/lib/actions/create-workbook.js.map +1 -0
  52. package/src/lib/actions/create-worksheet.d.ts +5 -0
  53. package/src/lib/actions/create-worksheet.js +81 -0
  54. package/src/lib/actions/create-worksheet.js.map +1 -0
  55. package/src/lib/actions/delete-table.d.ts +5 -0
  56. package/src/lib/actions/delete-table.js +36 -0
  57. package/src/lib/actions/delete-table.js.map +1 -0
  58. package/src/lib/actions/delete-workbook.d.ts +3 -0
  59. package/src/lib/actions/delete-workbook.js +34 -0
  60. package/src/lib/actions/delete-workbook.js.map +1 -0
  61. package/src/lib/actions/delete-worksheet.d.ts +4 -0
  62. package/src/lib/actions/delete-worksheet.js +35 -0
  63. package/src/lib/actions/delete-worksheet.js.map +1 -0
  64. package/src/lib/actions/find-row.d.ts +7 -0
  65. package/src/lib/actions/find-row.js +108 -0
  66. package/src/lib/actions/find-row.js.map +1 -0
  67. package/src/lib/actions/get-cells-in-range.d.ts +5 -0
  68. package/src/lib/actions/get-cells-in-range.js +44 -0
  69. package/src/lib/actions/get-cells-in-range.js.map +1 -0
  70. package/src/lib/actions/get-row-by-id.d.ts +6 -0
  71. package/src/lib/actions/get-row-by-id.js +61 -0
  72. package/src/lib/actions/get-row-by-id.js.map +1 -0
  73. package/src/lib/actions/get-table-columns.d.ts +6 -0
  74. package/src/lib/actions/get-table-columns.js +47 -0
  75. package/src/lib/actions/get-table-columns.js.map +1 -0
  76. package/src/lib/actions/get-table-rows.d.ts +6 -0
  77. package/src/lib/actions/get-table-rows.js +47 -0
  78. package/src/lib/actions/get-table-rows.js.map +1 -0
  79. package/src/lib/actions/get-workbooks.d.ts +3 -0
  80. package/src/lib/actions/get-workbooks.js +49 -0
  81. package/src/lib/actions/get-workbooks.js.map +1 -0
  82. package/src/lib/actions/get-worksheet-by-id.d.ts +4 -0
  83. package/src/lib/actions/get-worksheet-by-id.js +37 -0
  84. package/src/lib/actions/get-worksheet-by-id.js.map +1 -0
  85. package/src/lib/actions/get-worksheet-rows.d.ts +7 -0
  86. package/src/lib/actions/get-worksheet-rows.js +69 -0
  87. package/src/lib/actions/get-worksheet-rows.js.map +1 -0
  88. package/src/lib/actions/get-worksheets.d.ts +5 -0
  89. package/src/lib/actions/get-worksheets.js +61 -0
  90. package/src/lib/actions/get-worksheets.js.map +1 -0
  91. package/src/lib/actions/get-wroksheet-columns.d.ts +4 -0
  92. package/src/lib/actions/get-wroksheet-columns.js +35 -0
  93. package/src/lib/actions/get-wroksheet-columns.js.map +1 -0
  94. package/src/lib/actions/lookup-table-column.d.ts +8 -0
  95. package/src/lib/actions/lookup-table-column.js +78 -0
  96. package/src/lib/actions/lookup-table-column.js.map +1 -0
  97. package/src/lib/actions/rename-worksheet.d.ts +5 -0
  98. package/src/lib/actions/rename-worksheet.js +51 -0
  99. package/src/lib/actions/rename-worksheet.js.map +1 -0
  100. package/src/lib/actions/update-row.d.ts +7 -0
  101. package/src/lib/actions/update-row.js +58 -0
  102. package/src/lib/actions/update-row.js.map +1 -0
  103. package/src/lib/common/common.d.ts +22 -0
  104. package/src/lib/common/common.js +325 -0
  105. package/src/lib/common/common.js.map +1 -0
  106. package/src/lib/trigger/new-row-added.d.ts +18 -0
  107. package/src/lib/trigger/new-row-added.js +87 -0
  108. package/src/lib/trigger/new-row-added.js.map +1 -0
  109. package/src/lib/trigger/new-row-in-table.d.ts +22 -0
  110. package/src/lib/trigger/new-row-in-table.js +139 -0
  111. package/src/lib/trigger/new-row-in-table.js.map +1 -0
  112. package/src/lib/trigger/new-worksheet.d.ts +10 -0
  113. package/src/lib/trigger/new-worksheet.js +94 -0
  114. package/src/lib/trigger/new-worksheet.js.map +1 -0
  115. package/src/lib/trigger/updated-row.d.ts +18 -0
  116. package/src/lib/trigger/updated-row.js +129 -0
  117. package/src/lib/trigger/updated-row.js.map +1 -0
@@ -0,0 +1,167 @@
1
+ {
2
+ "Spreadsheet software by Microsoft": "Spreadsheet software by Microsoft",
3
+ "\n1. Sign in to [Microsoft Azure Portal](https://portal.azure.com/).\n2. From the left sidebar, go to **Microsoft Enfra ID**.\n3. Under **Manage**, click on **App registrations**.\n4. Click the **New registration** button.\n5. Enter a **Name** for your app.\n6. For **Supported account types**, choose:\n - **Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts**\n - Or select based on your requirement.\n7. In **Redirect URI**, select **Web** and add ": "\n1. Sign in to [Microsoft Azure Portal](https://portal.azure.com/).\n2. From the left sidebar, go to **Microsoft Enfra ID**.\n3. Under **Manage**, click on **App registrations**.\n4. Click the **New registration** button.\n5. Enter a **Name** for your app.\n6. For **Supported account types**, choose:\n - **Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts**\n - Or select based on your requirement.\n7. In **Redirect URI**, select **Web** and add the given URL.\n8. Click **Register**.\n9. After registration, you’ll be redirected to the app’s overview page. Copy the **Application (client) ID**.\n10. From the left menu, go to **Certificates & secrets**.\n - Under **Client secrets**, click **New client secret**.\n - Provide a description, set an expiry, and click **Add**.\n - Copy the **Value** of the client secret (this will not be shown again).\n11. Go to **API permissions** from the left menu.\n - Click **Add a permission**.\n - Select **Microsoft Graph** → **Delegated permissions**.\n - Add the following scopes:\n - Files.ReadWrite\n - offline_access\n - Click **Add permissions**.\n12. Copy your **Client ID** and **Client Secret**.\n",
4
+ "Append Row to Worksheet": "Append Row to Worksheet",
5
+ "Append Multiple Rows": "Append Multiple Rows",
6
+ "Get Worksheets": "Get Worksheets",
7
+ "Get Worksheet Rows": "Get Worksheet Rows",
8
+ "Update Worksheet Rows": "Update Worksheet Rows",
9
+ "Clear Worksheet": "Clear Worksheet",
10
+ "Delete Worksheet": "Delete Worksheet",
11
+ "Get Workbooks": "Get Workbooks",
12
+ "Get Worksheet Columns": "Get Worksheet Columns",
13
+ "Delete Workbook": "Delete Workbook",
14
+ "Add a Worksheet to a Workbook": "Add a Worksheet to a Workbook",
15
+ "Get Table Rows": "Get Table Rows",
16
+ "Get Table Columns": "Get Table Columns",
17
+ "Create Table": "Create Table",
18
+ "Delete Table": "Delete Table",
19
+ "Lookup Table Column": "Lookup Table Column",
20
+ "Append Rows to a Table": "Append Rows to a Table",
21
+ "Convert to Range": "Convert to Range",
22
+ "Create Workbook": "Create Workbook",
23
+ "Clear Column by Index": "Clear Column by Index",
24
+ "Clear Cells by Range": "Clear Cells by Range",
25
+ "Clear Row by ID": "Clear Row by ID",
26
+ "Create Worksheet": "Create Worksheet",
27
+ "Find Row": "Find Row",
28
+ "Get Cells in Range": "Get Cells in Range",
29
+ "Get Row by ID": "Get Row by ID",
30
+ "Get Worksheet by ID": "Get Worksheet by ID",
31
+ "Rename Worksheet": "Rename Worksheet",
32
+ "Custom API Call": "Custom API Call",
33
+ "Append row of values to a worksheet": "Append row of values to a worksheet",
34
+ "Appends multiple row of values to a worksheet.": "Appends multiple row of values to a worksheet.",
35
+ "Retrieve worksheets from a workbook": "Retrieve worksheets from a workbook",
36
+ "Retrieve rows from a worksheet": "Retrieve rows from a worksheet",
37
+ "Update a row in a worksheet": "Update a row in a worksheet",
38
+ "Clear a worksheet": "Clear a worksheet",
39
+ "Delete a worksheet in a workbook": "Delete a worksheet in a workbook",
40
+ "Retrieve a list of workbooks": "Retrieve a list of workbooks",
41
+ "List columns of a worksheet.": "List columns of a worksheet.",
42
+ "Delete a workbook": "Delete a workbook",
43
+ "Add a worksheet to a workbook": "Add a worksheet to a workbook",
44
+ "List rows of a table in a worksheet": "List rows of a table in a worksheet",
45
+ "List columns of a table in a worksheet": "List columns of a table in a worksheet",
46
+ "Create a table in a worksheet": "Create a table in a worksheet",
47
+ "Delete a table from a worksheet": "Delete a table from a worksheet",
48
+ "Lookup a value in a table column in a worksheet": "Lookup a value in a table column in a worksheet",
49
+ "Append rows to a table": "Append rows to a table",
50
+ "Converts a table to a range": "Converts a table to a range",
51
+ "Create a new workbook at the specified location": "Create a new workbook at the specified location",
52
+ "Clear contents/formatting of a column by its index.": "Clear contents/formatting of a column by its index.",
53
+ "Clear a block of cells (range) content or formatting.": "Clear a block of cells (range) content or formatting.",
54
+ "Clear contents/formatting of an entire row by its ID.": "Clear contents/formatting of an entire row by its ID.",
55
+ "Add a new worksheet (tab) to an existing workbook with optional default headers.": "Add a new worksheet (tab) to an existing workbook with optional default headers.",
56
+ "Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).": "Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).",
57
+ "Retrieve the values in a given cell range (e.g., “A1:C10”).": "Retrieve the values in a given cell range (e.g., “A1:C10”).",
58
+ "  Retrieve the entire content of a row by its row ID.": "  Retrieve the entire content of a row by its row ID.",
59
+ "Retrieve metadata of a worksheet by its ID.": "Retrieve metadata of a worksheet by its ID.",
60
+ "Change the name of an existing worksheet.": "Change the name of an existing worksheet.",
61
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
62
+ "Workbook": "Workbook",
63
+ "Worksheet": "Worksheet",
64
+ "Does the first row contain headers?": "Does the first row contain headers?",
65
+ "Values": "Values",
66
+ "Markdown": "Markdown",
67
+ "Filter Column": "Filter Column",
68
+ "Filter Type": "Filter Type",
69
+ "Filter Value": "Filter Value",
70
+ "Return All": "Return All",
71
+ "Limit": "Limit",
72
+ "Range": "Range",
73
+ "Header Row": "Header Row",
74
+ "First Data Row": "First Data Row",
75
+ "Row number": "Row number",
76
+ "Worksheet Name": "Worksheet Name",
77
+ "Table": "Table",
78
+ "Select Range": "Select Range",
79
+ "Has Headers": "Has Headers",
80
+ "Lookup Column": "Lookup Column",
81
+ "Lookup Value": "Lookup Value",
82
+ "Return All Matches": "Return All Matches",
83
+ "Name": "Name",
84
+ "Parent Folder": "Parent Folder",
85
+ "Column Index": "Column Index",
86
+ "Clear Type": "Clear Type",
87
+ "Row Number": "Row Number",
88
+ "Headers": "Headers",
89
+ "Row ID (Index)": "Row ID (Index)",
90
+ "New Worksheet Name": "New Worksheet Name",
91
+ "Method": "Method",
92
+ "Query Parameters": "Query Parameters",
93
+ "Body Type": "Body Type",
94
+ "Body": "Body",
95
+ "Response is Binary ?": "Response is Binary ?",
96
+ "No Error on Failure": "No Error on Failure",
97
+ "Timeout (in seconds)": "Timeout (in seconds)",
98
+ "Follow redirects": "Follow redirects",
99
+ "If the first row is headers": "If the first row is headers",
100
+ "The values to insert": "The values to insert",
101
+ "Use below Filter properties to insert only the rows that meet your conditions.": "Use below Filter properties to insert only the rows that meet your conditions.",
102
+ "If checked, all worksheets will be returned": "If checked, all worksheets will be returned",
103
+ "Limit the number of worksheets returned": "Limit the number of worksheets returned",
104
+ "Range of the rows to retrieve (e.g., A2:B2)": "Range of the rows to retrieve (e.g., A2:B2)",
105
+ "Row number of the header": "Row number of the header",
106
+ "Row number of the first data row": "Row number of the first data row",
107
+ "The row number to update": "The row number to update",
108
+ "The range in A1 notation (e.g., A2:B2) to clear in the worksheet, if not provided, clear the entire worksheet": "The range in A1 notation (e.g., A2:B2) to clear in the worksheet, if not provided, clear the entire worksheet",
109
+ "Limits the number of workbooks returned, returns all workbooks if empty": "Limits the number of workbooks returned, returns all workbooks if empty",
110
+ "The name of the new worksheet": "The name of the new worksheet",
111
+ "Limit the number of rows retrieved": "Limit the number of rows retrieved",
112
+ "Limit the number of columns retrieved": "Limit the number of columns retrieved",
113
+ "How to select the range for the table": "How to select the range for the table",
114
+ "The range of cells in A1 notation (e.g., A2:B2) that will be converted to a table": "The range of cells in A1 notation (e.g., A2:B2) that will be converted to a table",
115
+ "Whether the range has column labels": "Whether the range has column labels",
116
+ "The column name to lookup the value in": "The column name to lookup the value in",
117
+ "The value to lookup": "The value to lookup",
118
+ "If checked, all matching rows will be returned": "If checked, all matching rows will be returned",
119
+ "The name of the new workbook": "The name of the new workbook",
120
+ "The parent folder to use": "The parent folder to use",
121
+ "The 1-based index of the column to be cleared (e.g., 1 for column A, 2 for column B).": "The 1-based index of the column to be cleared (e.g., 1 for column A, 2 for column B).",
122
+ "Specify what to clear from the column.": "Specify what to clear from the column.",
123
+ "The range of cells to clear, in A1 notation (e.g., \"A1:C5\").": "The range of cells to clear, in A1 notation (e.g., \"A1:C5\").",
124
+ "Specify what to clear from the range.": "Specify what to clear from the range.",
125
+ "The number of the row to be cleared (e.g., 5 for the 5th row).": "The number of the row to be cleared (e.g., 5 for the 5th row).",
126
+ "Specify what to clear from the row.": "Specify what to clear from the row.",
127
+ "The name for the new worksheet. If not provided, a default name like 'Sheet1' will be assigned.": "The name for the new worksheet. If not provided, a default name like 'Sheet1' will be assigned.",
128
+ "Optional: A list of headers to add to the first row. A table will be created from these headers.": "Optional: A list of headers to add to the first row. A table will be created from these headers.",
129
+ "The column to search in.": "The column to search in.",
130
+ "The value to find in the lookup column.": "The value to find in the lookup column.",
131
+ "The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").": "The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").",
132
+ "The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).": "The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).",
133
+ "\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n": "\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n",
134
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
135
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
136
+ "(Text) Exactly matches": "(Text) Exactly matches",
137
+ "(Text) Does not exactly match": "(Text) Does not exactly match",
138
+ "(Text) Matches any of": "(Text) Matches any of",
139
+ "(Text) Matches none of": "(Text) Matches none of",
140
+ "All (Contents and Formatting)": "All (Contents and Formatting)",
141
+ "Contents Only": "Contents Only",
142
+ "Formats Only": "Formats Only",
143
+ "GET": "GET",
144
+ "POST": "POST",
145
+ "PATCH": "PATCH",
146
+ "PUT": "PUT",
147
+ "DELETE": "DELETE",
148
+ "HEAD": "HEAD",
149
+ "None": "None",
150
+ "JSON": "JSON",
151
+ "Form Data": "Form Data",
152
+ "Raw": "Raw",
153
+ "New Row": "New Row",
154
+ "New Row in Table": "New Row in Table",
155
+ "New Worksheet": "New Worksheet",
156
+ "Updated Row": "Updated Row",
157
+ "Trigger when a new row is added, and it can include existing rows as well.": "Trigger when a new row is added, and it can include existing rows as well.",
158
+ "Fires when a new row is added to a table within a worksheet.": "Fires when a new row is added to a table within a worksheet.",
159
+ "Fires when a new worksheet is created in a workbook.": "Fires when a new worksheet is created in a workbook.",
160
+ "Fires when a row (in a worksheet) is added or updated.": "Fires when a row (in a worksheet) is added or updated.",
161
+ "Max Rows to Poll": "Max Rows to Poll",
162
+ "My table has headers": "My table has headers",
163
+ "First row has headers": "First row has headers",
164
+ "The maximum number of rows to poll, the rest will be polled on the next run.": "The maximum number of rows to poll, the rest will be polled on the next run.",
165
+ "Enable this if the first row of your table is a header row.": "Enable this if the first row of your table is a header row.",
166
+ "Enable this if the first row of your worksheet should be treated as headers.": "Enable this if the first row of your worksheet should be treated as headers."
167
+ }
@@ -0,0 +1,98 @@
1
+ {
2
+ "Microsoft Excel 365": "Microsoft Excel 365",
3
+ "Spreadsheet software by Microsoft": "Spreadsheet software by Microsoft",
4
+ "Authentication for Microsoft Excel 365": "Authentication for Microsoft Excel 365",
5
+ "Append Row to Worksheet": "Append Row to Worksheet",
6
+ "Get Worksheets": "Get Worksheets",
7
+ "Get Worksheet Rows": "Get Worksheet Rows",
8
+ "Update Worksheet Rows": "Update Worksheet Rows",
9
+ "Clear Worksheet": "Clear Worksheet",
10
+ "Delete Worksheet": "Delete Worksheet",
11
+ "Get Workbooks": "Get Workbooks",
12
+ "Delete Workbook": "Delete Workbook",
13
+ "Add a Worksheet to a Workbook": "Add a Worksheet to a Workbook",
14
+ "Get Table Rows": "Get Table Rows",
15
+ "Get Table Columns": "Get Table Columns",
16
+ "Create Table": "Create Table",
17
+ "Delete Table": "Delete Table",
18
+ "Lookup Table Column": "Lookup Table Column",
19
+ "Append Rows to a Table": "Append Rows to a Table",
20
+ "Convert to Range": "Convert to Range",
21
+ "Create Workbook": "Create Workbook",
22
+ "Custom API Call": "Custom API Call",
23
+ "Append row of values to a worksheet": "Append row of values to a worksheet",
24
+ "Retrieve worksheets from a workbook": "Retrieve worksheets from a workbook",
25
+ "Retrieve rows from a worksheet": "Retrieve rows from a worksheet",
26
+ "Update a row in a worksheet": "Update a row in a worksheet",
27
+ "Clear a worksheet": "Clear a worksheet",
28
+ "Delete a worksheet in a workbook": "Delete a worksheet in a workbook",
29
+ "Retrieve a list of workbooks": "Retrieve a list of workbooks",
30
+ "Delete a workbook": "Delete a workbook",
31
+ "Add a worksheet to a workbook": "Add a worksheet to a workbook",
32
+ "List rows of a table in a worksheet": "List rows of a table in a worksheet",
33
+ "List columns of a table in a worksheet": "List columns of a table in a worksheet",
34
+ "Create a table in a worksheet": "Create a table in a worksheet",
35
+ "Delete a table from a worksheet": "Delete a table from a worksheet",
36
+ "Lookup a value in a table column in a worksheet": "Lookup a value in a table column in a worksheet",
37
+ "Append rows to a table": "Append rows to a table",
38
+ "Converts a table to a range": "Converts a table to a range",
39
+ "Create a new workbook at the specified location": "Create a new workbook at the specified location",
40
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
41
+ "Workbook": "Workbook",
42
+ "Worksheet": "Worksheet",
43
+ "Does the first row contain headers?": "Does the first row contain headers?",
44
+ "Values": "Values",
45
+ "Return All": "Return All",
46
+ "Limit": "Limit",
47
+ "Range": "Range",
48
+ "Header Row": "Header Row",
49
+ "First Data Row": "First Data Row",
50
+ "Row number": "Row number",
51
+ "Worksheet Name": "Worksheet Name",
52
+ "Table": "Table",
53
+ "Select Range": "Select Range",
54
+ "Has Headers": "Has Headers",
55
+ "Lookup Column": "Lookup Column",
56
+ "Lookup Value": "Lookup Value",
57
+ "Return All Matches": "Return All Matches",
58
+ "Name": "Name",
59
+ "Parent Folder": "Parent Folder",
60
+ "Method": "Method",
61
+ "Headers": "Headers",
62
+ "Query Parameters": "Query Parameters",
63
+ "Body": "Body",
64
+ "No Error on Failure": "No Error on Failure",
65
+ "Timeout (in seconds)": "Timeout (in seconds)",
66
+ "If the first row is headers": "If the first row is headers",
67
+ "The values to insert": "The values to insert",
68
+ "If checked, all worksheets will be returned": "If checked, all worksheets will be returned",
69
+ "Limit the number of worksheets returned": "Limit the number of worksheets returned",
70
+ "Range of the rows to retrieve (e.g., A2:B2)": "Range of the rows to retrieve (e.g., A2:B2)",
71
+ "Row number of the header": "Row number of the header",
72
+ "Row number of the first data row": "Row number of the first data row",
73
+ "The row number to update": "The row number to update",
74
+ "The range in A1 notation (e.g., A2:B2) to clear in the worksheet, if not provided, clear the entire worksheet": "The range in A1 notation (e.g., A2:B2) to clear in the worksheet, if not provided, clear the entire worksheet",
75
+ "Limits the number of workbooks returned, returns all workbooks if empty": "Limits the number of workbooks returned, returns all workbooks if empty",
76
+ "The name of the new worksheet": "The name of the new worksheet",
77
+ "Limit the number of rows retrieved": "Limit the number of rows retrieved",
78
+ "Limit the number of columns retrieved": "Limit the number of columns retrieved",
79
+ "How to select the range for the table": "How to select the range for the table",
80
+ "The range of cells in A1 notation (e.g., A2:B2) that will be converted to a table": "The range of cells in A1 notation (e.g., A2:B2) that will be converted to a table",
81
+ "Whether the range has column labels": "Whether the range has column labels",
82
+ "The column name to lookup the value in": "The column name to lookup the value in",
83
+ "The value to lookup": "The value to lookup",
84
+ "If checked, all matching rows will be returned": "If checked, all matching rows will be returned",
85
+ "The name of the new workbook": "The name of the new workbook",
86
+ "The parent folder to use": "The parent folder to use",
87
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
88
+ "GET": "GET",
89
+ "POST": "POST",
90
+ "PATCH": "PATCH",
91
+ "PUT": "PUT",
92
+ "DELETE": "DELETE",
93
+ "HEAD": "HEAD",
94
+ "New Row": "New Row",
95
+ "Trigger when a new row is added, and it can include existing rows as well.": "Trigger when a new row is added, and it can include existing rows as well.",
96
+ "Max Rows to Poll": "Max Rows to Poll",
97
+ "The maximum number of rows to poll, the rest will be polled on the next run.": "The maximum number of rows to poll, the rest will be polled on the next run."
98
+ }
@@ -0,0 +1,167 @@
1
+ {
2
+ "Spreadsheet software by Microsoft": "Spreadsheet software by Microsoft",
3
+ "\n1. Sign in to [Microsoft Azure Portal](https://portal.azure.com/).\n2. From the left sidebar, go to **Microsoft Enfra ID**.\n3. Under **Manage**, click on **App registrations**.\n4. Click the **New registration** button.\n5. Enter a **Name** for your app.\n6. For **Supported account types**, choose:\n - **Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts**\n - Or select based on your requirement.\n7. In **Redirect URI**, select **Web** and add ": "\n1. Sign in to [Microsoft Azure Portal](https://portal.azure.com/).\n2. From the left sidebar, go to **Microsoft Enfra ID**.\n3. Under **Manage**, click on **App registrations**.\n4. Click the **New registration** button.\n5. Enter a **Name** for your app.\n6. For **Supported account types**, choose:\n - **Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts**\n - Or select based on your requirement.\n7. In **Redirect URI**, select **Web** and add the given URL.\n8. Click **Register**.\n9. After registration, you’ll be redirected to the app’s overview page. Copy the **Application (client) ID**.\n10. From the left menu, go to **Certificates & secrets**.\n - Under **Client secrets**, click **New client secret**.\n - Provide a description, set an expiry, and click **Add**.\n - Copy the **Value** of the client secret (this will not be shown again).\n11. Go to **API permissions** from the left menu.\n - Click **Add a permission**.\n - Select **Microsoft Graph** → **Delegated permissions**.\n - Add the following scopes:\n - Files.ReadWrite\n - offline_access\n - Click **Add permissions**.\n12. Copy your **Client ID** and **Client Secret**.\n",
4
+ "Append Row to Worksheet": "Append Row to Worksheet",
5
+ "Append Multiple Rows": "Append Multiple Rows",
6
+ "Get Worksheets": "Get Worksheets",
7
+ "Get Worksheet Rows": "Get Worksheet Rows",
8
+ "Update Worksheet Rows": "Update Worksheet Rows",
9
+ "Clear Worksheet": "Clear Worksheet",
10
+ "Delete Worksheet": "Delete Worksheet",
11
+ "Get Workbooks": "Get Workbooks",
12
+ "Get Worksheet Columns": "Get Worksheet Columns",
13
+ "Delete Workbook": "Delete Workbook",
14
+ "Add a Worksheet to a Workbook": "Add a Worksheet to a Workbook",
15
+ "Get Table Rows": "Get Table Rows",
16
+ "Get Table Columns": "Get Table Columns",
17
+ "Create Table": "Create Table",
18
+ "Delete Table": "Delete Table",
19
+ "Lookup Table Column": "Lookup Table Column",
20
+ "Append Rows to a Table": "Append Rows to a Table",
21
+ "Convert to Range": "Convert to Range",
22
+ "Create Workbook": "Create Workbook",
23
+ "Clear Column by Index": "Clear Column by Index",
24
+ "Clear Cells by Range": "Clear Cells by Range",
25
+ "Clear Row by ID": "Clear Row by ID",
26
+ "Create Worksheet": "创建工作表",
27
+ "Find Row": "Find Row",
28
+ "Get Cells in Range": "Get Cells in Range",
29
+ "Get Row by ID": "Get Row by ID",
30
+ "Get Worksheet by ID": "Get Worksheet by ID",
31
+ "Rename Worksheet": "Rename Worksheet",
32
+ "Custom API Call": "自定义 API 呼叫",
33
+ "Append row of values to a worksheet": "Append row of values to a worksheet",
34
+ "Appends multiple row of values to a worksheet.": "Appends multiple row of values to a worksheet.",
35
+ "Retrieve worksheets from a workbook": "Retrieve worksheets from a workbook",
36
+ "Retrieve rows from a worksheet": "Retrieve rows from a worksheet",
37
+ "Update a row in a worksheet": "Update a row in a worksheet",
38
+ "Clear a worksheet": "Clear a worksheet",
39
+ "Delete a worksheet in a workbook": "Delete a worksheet in a workbook",
40
+ "Retrieve a list of workbooks": "Retrieve a list of workbooks",
41
+ "List columns of a worksheet.": "List columns of a worksheet.",
42
+ "Delete a workbook": "Delete a workbook",
43
+ "Add a worksheet to a workbook": "Add a worksheet to a workbook",
44
+ "List rows of a table in a worksheet": "List rows of a table in a worksheet",
45
+ "List columns of a table in a worksheet": "List columns of a table in a worksheet",
46
+ "Create a table in a worksheet": "Create a table in a worksheet",
47
+ "Delete a table from a worksheet": "Delete a table from a worksheet",
48
+ "Lookup a value in a table column in a worksheet": "Lookup a value in a table column in a worksheet",
49
+ "Append rows to a table": "Append rows to a table",
50
+ "Converts a table to a range": "Converts a table to a range",
51
+ "Create a new workbook at the specified location": "Create a new workbook at the specified location",
52
+ "Clear contents/formatting of a column by its index.": "Clear contents/formatting of a column by its index.",
53
+ "Clear a block of cells (range) content or formatting.": "Clear a block of cells (range) content or formatting.",
54
+ "Clear contents/formatting of an entire row by its ID.": "Clear contents/formatting of an entire row by its ID.",
55
+ "Add a new worksheet (tab) to an existing workbook with optional default headers.": "Add a new worksheet (tab) to an existing workbook with optional default headers.",
56
+ "Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).": "Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).",
57
+ "Retrieve the values in a given cell range (e.g., “A1:C10”).": "Retrieve the values in a given cell range (e.g., “A1:C10”).",
58
+ "  Retrieve the entire content of a row by its row ID.": "  Retrieve the entire content of a row by its row ID.",
59
+ "Retrieve metadata of a worksheet by its ID.": "Retrieve metadata of a worksheet by its ID.",
60
+ "Change the name of an existing worksheet.": "Change the name of an existing worksheet.",
61
+ "Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
62
+ "Workbook": "Workbook",
63
+ "Worksheet": "Worksheet",
64
+ "Does the first row contain headers?": "第一行是否包含标题?",
65
+ "Values": "值",
66
+ "Markdown": "Markdown",
67
+ "Filter Column": "Filter Column",
68
+ "Filter Type": "Filter Type",
69
+ "Filter Value": "Filter Value",
70
+ "Return All": "Return All",
71
+ "Limit": "Limit",
72
+ "Range": "Range",
73
+ "Header Row": "Header Row",
74
+ "First Data Row": "First Data Row",
75
+ "Row number": "Row number",
76
+ "Worksheet Name": "Worksheet Name",
77
+ "Table": "表",
78
+ "Select Range": "Select Range",
79
+ "Has Headers": "Has Headers",
80
+ "Lookup Column": "Lookup Column",
81
+ "Lookup Value": "Lookup Value",
82
+ "Return All Matches": "Return All Matches",
83
+ "Name": "名称",
84
+ "Parent Folder": "父文件夹",
85
+ "Column Index": "列索引",
86
+ "Clear Type": "Clear Type",
87
+ "Row Number": "行号",
88
+ "Headers": "信头",
89
+ "Row ID (Index)": "Row ID (Index)",
90
+ "New Worksheet Name": "New Worksheet Name",
91
+ "Method": "方法",
92
+ "Query Parameters": "查询参数",
93
+ "Body Type": "Body Type",
94
+ "Body": "正文内容",
95
+ "Response is Binary ?": "Response is Binary ?",
96
+ "No Error on Failure": "失败时没有错误",
97
+ "Timeout (in seconds)": "超时(秒)",
98
+ "Follow redirects": "Follow redirects",
99
+ "If the first row is headers": "如果第一行是头部",
100
+ "The values to insert": "要插入的值",
101
+ "Use below Filter properties to insert only the rows that meet your conditions.": "Use below Filter properties to insert only the rows that meet your conditions.",
102
+ "If checked, all worksheets will be returned": "If checked, all worksheets will be returned",
103
+ "Limit the number of worksheets returned": "Limit the number of worksheets returned",
104
+ "Range of the rows to retrieve (e.g., A2:B2)": "Range of the rows to retrieve (e.g., A2:B2)",
105
+ "Row number of the header": "Row number of the header",
106
+ "Row number of the first data row": "Row number of the first data row",
107
+ "The row number to update": "要更新的行数",
108
+ "The range in A1 notation (e.g., A2:B2) to clear in the worksheet, if not provided, clear the entire worksheet": "The range in A1 notation (e.g., A2:B2) to clear in the worksheet, if not provided, clear the entire worksheet",
109
+ "Limits the number of workbooks returned, returns all workbooks if empty": "Limits the number of workbooks returned, returns all workbooks if empty",
110
+ "The name of the new worksheet": "The name of the new worksheet",
111
+ "Limit the number of rows retrieved": "Limit the number of rows retrieved",
112
+ "Limit the number of columns retrieved": "Limit the number of columns retrieved",
113
+ "How to select the range for the table": "How to select the range for the table",
114
+ "The range of cells in A1 notation (e.g., A2:B2) that will be converted to a table": "The range of cells in A1 notation (e.g., A2:B2) that will be converted to a table",
115
+ "Whether the range has column labels": "Whether the range has column labels",
116
+ "The column name to lookup the value in": "The column name to lookup the value in",
117
+ "The value to lookup": "The value to lookup",
118
+ "If checked, all matching rows will be returned": "If checked, all matching rows will be returned",
119
+ "The name of the new workbook": "The name of the new workbook",
120
+ "The parent folder to use": "The parent folder to use",
121
+ "The 1-based index of the column to be cleared (e.g., 1 for column A, 2 for column B).": "The 1-based index of the column to be cleared (e.g., 1 for column A, 2 for column B).",
122
+ "Specify what to clear from the column.": "Specify what to clear from the column.",
123
+ "The range of cells to clear, in A1 notation (e.g., \"A1:C5\").": "The range of cells to clear, in A1 notation (e.g., \"A1:C5\").",
124
+ "Specify what to clear from the range.": "Specify what to clear from the range.",
125
+ "The number of the row to be cleared (e.g., 5 for the 5th row).": "The number of the row to be cleared (e.g., 5 for the 5th row).",
126
+ "Specify what to clear from the row.": "Specify what to clear from the row.",
127
+ "The name for the new worksheet. If not provided, a default name like 'Sheet1' will be assigned.": "The name for the new worksheet. If not provided, a default name like 'Sheet1' will be assigned.",
128
+ "Optional: A list of headers to add to the first row. A table will be created from these headers.": "Optional: A list of headers to add to the first row. A table will be created from these headers.",
129
+ "The column to search in.": "The column to search in.",
130
+ "The value to find in the lookup column.": "The value to find in the lookup column.",
131
+ "The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").": "The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").",
132
+ "The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).": "The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).",
133
+ "\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n": "\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n",
134
+ "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
135
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
136
+ "(Text) Exactly matches": "(ext) 完全匹配",
137
+ "(Text) Does not exactly match": "(ext) 不完全匹配",
138
+ "(Text) Matches any of": "(Text) Matches any of",
139
+ "(Text) Matches none of": "(Text) Matches none of",
140
+ "All (Contents and Formatting)": "All (Contents and Formatting)",
141
+ "Contents Only": "Contents Only",
142
+ "Formats Only": "Formats Only",
143
+ "GET": "获取",
144
+ "POST": "帖子",
145
+ "PATCH": "PATCH",
146
+ "PUT": "弹出",
147
+ "DELETE": "删除",
148
+ "HEAD": "黑色",
149
+ "None": "无",
150
+ "JSON": "JSON",
151
+ "Form Data": "表单数据",
152
+ "Raw": "原始文件",
153
+ "New Row": "New Row",
154
+ "New Row in Table": "New Row in Table",
155
+ "New Worksheet": "新建工作表",
156
+ "Updated Row": "Updated Row",
157
+ "Trigger when a new row is added, and it can include existing rows as well.": "Trigger when a new row is added, and it can include existing rows as well.",
158
+ "Fires when a new row is added to a table within a worksheet.": "Fires when a new row is added to a table within a worksheet.",
159
+ "Fires when a new worksheet is created in a workbook.": "Fires when a new worksheet is created in a workbook.",
160
+ "Fires when a row (in a worksheet) is added or updated.": "Fires when a row (in a worksheet) is added or updated.",
161
+ "Max Rows to Poll": "Max Rows to Poll",
162
+ "My table has headers": "My table has headers",
163
+ "First row has headers": "First row has headers",
164
+ "The maximum number of rows to poll, the rest will be polled on the next run.": "The maximum number of rows to poll, the rest will be polled on the next run.",
165
+ "Enable this if the first row of your table is a header row.": "Enable this if the first row of your table is a header row.",
166
+ "Enable this if the first row of your worksheet should be treated as headers.": "Enable this if the first row of your worksheet should be treated as headers."
167
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export declare const excelAuth: import("@scopieflows/pieces-framework").OAuth2Property<import("@scopieflows/pieces-framework").OAuth2Props>;
2
+ export declare const microsoftExcel: import("@scopieflows/pieces-framework").Piece<import("@scopieflows/pieces-framework").OAuth2Property<import("@scopieflows/pieces-framework").OAuth2Props>>;
package/src/index.js ADDED
@@ -0,0 +1,128 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.microsoftExcel = exports.excelAuth = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const pieces_common_1 = require("@scopieflows/pieces-common");
6
+ const pieces_framework_1 = require("@scopieflows/pieces-framework");
7
+ const shared_1 = require("@scopieflows/shared");
8
+ const add_worksheet_1 = require("./lib/actions/add-worksheet");
9
+ const append_row_1 = require("./lib/actions/append-row");
10
+ const append_table_rows_1 = require("./lib/actions/append-table-rows");
11
+ const clear_worksheet_1 = require("./lib/actions/clear-worksheet");
12
+ const convert_to_range_1 = require("./lib/actions/convert-to-range");
13
+ const create_table_1 = require("./lib/actions/create-table");
14
+ const create_workbook_1 = require("./lib/actions/create-workbook");
15
+ const delete_table_1 = require("./lib/actions/delete-table");
16
+ const delete_workbook_1 = require("./lib/actions/delete-workbook");
17
+ const delete_worksheet_1 = require("./lib/actions/delete-worksheet");
18
+ const get_table_columns_1 = require("./lib/actions/get-table-columns");
19
+ const get_table_rows_1 = require("./lib/actions/get-table-rows");
20
+ const get_workbooks_1 = require("./lib/actions/get-workbooks");
21
+ const get_worksheet_rows_1 = require("./lib/actions/get-worksheet-rows");
22
+ const get_worksheets_1 = require("./lib/actions/get-worksheets");
23
+ const lookup_table_column_1 = require("./lib/actions/lookup-table-column");
24
+ const update_row_1 = require("./lib/actions/update-row");
25
+ const clear_cells_by_range_1 = require("./lib/actions/clear-cells-by-range");
26
+ const clear_column_by_index_1 = require("./lib/actions/clear-column-by-index");
27
+ const clear_row_by_id_1 = require("./lib/actions/clear-row-by-id");
28
+ const create_worksheet_1 = require("./lib/actions/create-worksheet");
29
+ const find_row_1 = require("./lib/actions/find-row");
30
+ const get_cells_in_range_1 = require("./lib/actions/get-cells-in-range");
31
+ const get_row_by_id_1 = require("./lib/actions/get-row-by-id");
32
+ const get_worksheet_by_id_1 = require("./lib/actions/get-worksheet-by-id");
33
+ const rename_worksheet_1 = require("./lib/actions/rename-worksheet");
34
+ const new_row_added_1 = require("./lib/trigger/new-row-added");
35
+ const new_row_in_table_1 = require("./lib/trigger/new-row-in-table");
36
+ const new_worksheet_1 = require("./lib/trigger/new-worksheet");
37
+ const updated_row_1 = require("./lib/trigger/updated-row");
38
+ const append_multiple_rows_1 = require("./lib/actions/append-multiple-rows");
39
+ const common_1 = require("./lib/common/common");
40
+ const get_wroksheet_columns_1 = require("./lib/actions/get-wroksheet-columns");
41
+ const authDesc = `
42
+ 1. Sign in to [Microsoft Azure Portal](https://portal.azure.com/).
43
+ 2. From the left sidebar, go to **Microsoft Enfra ID**.
44
+ 3. Under **Manage**, click on **App registrations**.
45
+ 4. Click the **New registration** button.
46
+ 5. Enter a **Name** for your app.
47
+ 6. For **Supported account types**, choose:
48
+ - **Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts**
49
+ - Or select based on your requirement.
50
+ 7. In **Redirect URI**, select **Web** and add the given URL.
51
+ 8. Click **Register**.
52
+ 9. After registration, you’ll be redirected to the app’s overview page. Copy the **Application (client) ID**.
53
+ 10. From the left menu, go to **Certificates & secrets**.
54
+ - Under **Client secrets**, click **New client secret**.
55
+ - Provide a description, set an expiry, and click **Add**.
56
+ - Copy the **Value** of the client secret (this will not be shown again).
57
+ 11. Go to **API permissions** from the left menu.
58
+ - Click **Add a permission**.
59
+ - Select **Microsoft Graph** → **Delegated permissions**.
60
+ - Add the following scopes:
61
+ - Files.ReadWrite
62
+ - offline_access
63
+ - Click **Add permissions**.
64
+ 12. Copy your **Client ID** and **Client Secret**.
65
+ `;
66
+ exports.excelAuth = pieces_framework_1.PieceAuth.OAuth2({
67
+ description: authDesc,
68
+ authUrl: 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize',
69
+ tokenUrl: 'https://login.microsoftonline.com/common/oauth2/v2.0/token',
70
+ required: true,
71
+ scope: ['Files.ReadWrite', 'offline_access'],
72
+ prompt: 'omit'
73
+ });
74
+ exports.microsoftExcel = (0, pieces_framework_1.createPiece)({
75
+ displayName: 'Microsoft Excel 365',
76
+ description: 'Spreadsheet software by Microsoft',
77
+ auth: exports.excelAuth,
78
+ minimumSupportedRelease: '0.30.0',
79
+ logoUrl: '/pieces/microsoft-excel-365.png',
80
+ categories: [shared_1.PieceCategory.PRODUCTIVITY],
81
+ authors: ['BastienMe', 'kishanprmr', 'MoShizzle', 'abuaboud', 'Pranith124', 'onyedikachi-david'],
82
+ actions: [
83
+ append_row_1.appendRowAction,
84
+ append_multiple_rows_1.appendMultipleRowsAction,
85
+ get_worksheets_1.getWorksheetsAction,
86
+ get_worksheet_rows_1.getWorksheetRowsAction,
87
+ update_row_1.updateRowAction,
88
+ clear_worksheet_1.clearWorksheetAction,
89
+ delete_worksheet_1.deleteWorksheetAction,
90
+ get_workbooks_1.getWorkbooksAction,
91
+ get_wroksheet_columns_1.getWorksheetColumnsAction,
92
+ delete_workbook_1.deleteWorkbookAction,
93
+ add_worksheet_1.addWorksheetAction,
94
+ get_table_rows_1.getTableRowsAction,
95
+ get_table_columns_1.getTableColumnsAction,
96
+ create_table_1.createTableAction,
97
+ delete_table_1.deleteTableAction,
98
+ lookup_table_column_1.lookupTableColumnAction,
99
+ append_table_rows_1.appendTableRowsAction,
100
+ convert_to_range_1.convertToRangeAction,
101
+ create_workbook_1.createWorkbook,
102
+ clear_column_by_index_1.clearColumnAction,
103
+ clear_cells_by_range_1.clearRangeAction,
104
+ clear_row_by_id_1.clearRowAction,
105
+ create_worksheet_1.createWorksheetAction,
106
+ find_row_1.findRowAction,
107
+ get_cells_in_range_1.getRangeAction,
108
+ get_row_by_id_1.getRowAction,
109
+ get_worksheet_by_id_1.getWorksheetAction,
110
+ rename_worksheet_1.renameWorksheetAction,
111
+ (0, pieces_common_1.createCustomApiCallAction)({
112
+ baseUrl: () => common_1.excelCommon.baseUrl,
113
+ auth: exports.excelAuth,
114
+ authMapping: (auth) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
115
+ return ({
116
+ Authorization: `Bearer ${auth.access_token}`
117
+ });
118
+ })
119
+ })
120
+ ],
121
+ triggers: [
122
+ new_row_added_1.readNewRows,
123
+ new_row_in_table_1.newRowInTableTrigger,
124
+ new_worksheet_1.newWorksheetTrigger,
125
+ updated_row_1.updatedRowTrigger
126
+ ]
127
+ });
128
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/microsoft-excel-365/src/index.ts"],"names":[],"mappings":";;;;AAAA,8DAAuE;AACvE,oEAIuC;AACvC,gDAAoD;AAEpD,+DAAiE;AACjE,yDAA2D;AAC3D,uEAAwE;AACxE,mEAAqE;AACrE,qEAAsE;AACtE,6DAA+D;AAC/D,mEAA+D;AAC/D,6DAA+D;AAC/D,mEAAqE;AACrE,qEAAuE;AACvE,uEAAwE;AACxE,iEAAkE;AAClE,+DAAiE;AACjE,yEAA0E;AAC1E,iEAAmE;AACnE,2EAA4E;AAC5E,yDAA2D;AAE3D,6EAAsE;AACtE,+EAAwE;AACxE,mEAA+D;AAC/D,qEAAuE;AACvE,qDAAuD;AACvD,yEAAkE;AAClE,+DAA2D;AAC3D,2EAAuE;AACvE,qEAAuE;AAEvE,+DAA0D;AAE1D,qEAAsE;AACtE,+DAAkE;AAClE,2DAA8D;AAE9D,6EAA8E;AAC9E,gDAAkD;AAClD,+EAAgF;AAEhF,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;CAwBhB,CAAC;AAEW,QAAA,SAAS,GAAG,4BAAS,CAAC,MAAM,CAAC;IACxC,WAAW,EAAE,QAAQ;IACrB,OAAO,EAAE,gEAAgE;IACzE,QAAQ,EAAE,4DAA4D;IACtE,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,CAAC,iBAAiB,EAAE,gBAAgB,CAAC;IAC5C,MAAM,EAAE,MAAM;CACf,CAAC,CAAC;AAEU,QAAA,cAAc,GAAG,IAAA,8BAAW,EAAC;IACxC,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE,mCAAmC;IAEhD,IAAI,EAAE,iBAAS;IACf,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,iCAAiC;IAC1C,UAAU,EAAE,CAAC,sBAAa,CAAC,YAAY,CAAC;IACxC,OAAO,EAAE,CAAC,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,mBAAmB,CAAC;IAChG,OAAO,EAAE;QACP,4BAAe;QACf,+CAAwB;QACxB,oCAAmB;QACnB,2CAAsB;QACtB,4BAAe;QACf,sCAAoB;QACpB,wCAAqB;QACrB,kCAAkB;QAClB,iDAAyB;QACzB,sCAAoB;QACpB,kCAAkB;QAClB,mCAAkB;QAClB,yCAAqB;QACrB,gCAAiB;QACjB,gCAAiB;QACjB,6CAAuB;QACvB,yCAAqB;QACrB,uCAAoB;QACpB,gCAAc;QACd,yCAAiB;QACjB,uCAAgB;QAChB,gCAAc;QACd,wCAAqB;QACrB,wBAAa;QACb,mCAAc;QACd,4BAAY;QACZ,wCAAkB;QAClB,wCAAqB;QACrB,IAAA,yCAAyB,EAAC;YACxB,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAW,CAAC,OAAO;YAClC,IAAI,EAAE,iBAAS;YACf,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBAAC,OAAA,CAAC;oBAC5B,aAAa,EAAE,UAAW,IAA4B,CAAC,YAAY,EAAE;iBACtE,CAAC,CAAA;cAAA;SACH,CAAC;KACH;IACD,QAAQ,EAAE;QACR,2BAAW;QACX,uCAAoB;QACpB,mCAAmB;QACnB,+BAAiB;KAClB;CACF,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const addWorksheetAction: import("@scopieflows/pieces-framework").IAction<import("@scopieflows/pieces-framework").OAuth2Property<import("@scopieflows/pieces-framework").OAuth2Props>, {
2
+ workbook_id: import("@scopieflows/pieces-framework").DropdownProperty<string, true, import("@scopieflows/pieces-framework").OAuth2Property<import("@scopieflows/pieces-framework").OAuth2Props>>;
3
+ worksheet_name: import("@scopieflows/pieces-framework").ShortTextProperty<false>;
4
+ }>;
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addWorksheetAction = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const pieces_framework_1 = require("@scopieflows/pieces-framework");
6
+ const pieces_common_1 = require("@scopieflows/pieces-common");
7
+ const index_1 = require("../../index");
8
+ const common_1 = require("../common/common");
9
+ exports.addWorksheetAction = (0, pieces_framework_1.createAction)({
10
+ auth: index_1.excelAuth,
11
+ name: 'add_worksheet',
12
+ description: 'Add a worksheet to a workbook',
13
+ displayName: 'Add a Worksheet to a Workbook',
14
+ props: {
15
+ workbook_id: common_1.excelCommon.workbook_id,
16
+ worksheet_name: pieces_framework_1.Property.ShortText({
17
+ displayName: 'Worksheet Name',
18
+ description: 'The name of the new worksheet',
19
+ required: false,
20
+ defaultValue: 'Sheet',
21
+ }),
22
+ },
23
+ run(_a) {
24
+ return tslib_1.__awaiter(this, arguments, void 0, function* ({ propsValue, auth }) {
25
+ const workbook_id = propsValue['workbook_id'];
26
+ const worksheet_name = propsValue['worksheet_name'];
27
+ const request = {
28
+ method: pieces_common_1.HttpMethod.POST,
29
+ url: `${common_1.excelCommon.baseUrl}/items/${workbook_id}/workbook/worksheets`,
30
+ body: {
31
+ name: worksheet_name,
32
+ },
33
+ authentication: {
34
+ type: pieces_common_1.AuthenticationType.BEARER_TOKEN,
35
+ token: auth['access_token'],
36
+ },
37
+ };
38
+ const response = yield pieces_common_1.httpClient.sendRequest(request);
39
+ return response.body;
40
+ });
41
+ },
42
+ });
43
+ //# sourceMappingURL=add-worksheet.js.map