@jinshuju/cli 0.15.0 → 0.16.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.
@@ -1,7 +1,7 @@
1
1
  import { PAGINATION_OPTIONS, UsageError } from '../options.js';
2
2
  import { progress } from '../progress.js';
3
3
  import { bodyChoices, call, choices } from '../spec.js';
4
- import { confirmed, LISTING, paging, YES_OPTION } from './shared.js';
4
+ import { confirmed, ESTIMATE_OPTION, estimating, FORM_OPTION, given, LISTING, NARROWING_OPTIONS, narrowingBody, narrowingQuery, paging, requiredOption as required, SELECT_ALL_OPTION, selectAll, SEND_OPTION, sendingConfirmed, YES_OPTION } from './shared.js';
5
5
  import { upload } from './upload.js';
6
6
  import { basename } from 'node:path';
7
7
  /**
@@ -98,6 +98,48 @@ async function signatureMaterials(input, client) {
98
98
  }
99
99
  return body;
100
100
  }
101
+ const MOBILE_FIELD_OPTION = {
102
+ name: '--field',
103
+ type: 'string',
104
+ placeholder: '<api_code>',
105
+ description: 'Mobile field to send to; a table column as <table api_code>.<column api_code>'
106
+ };
107
+ const TEMPLATE_ID_OPTION = {
108
+ name: '--template-id',
109
+ type: 'string',
110
+ placeholder: '<id>',
111
+ description: 'Template to send, from `sms template list`'
112
+ };
113
+ const TIMING_OPTIONS = [
114
+ {
115
+ name: '--placeholder',
116
+ type: 'string',
117
+ repeatable: true,
118
+ placeholder: '<api_code>',
119
+ description: 'Field filling the next template variable, repeatable in variable order; a variable without one takes the ' +
120
+ 'field whose api_code is its name'
121
+ },
122
+ {
123
+ name: '--send-at',
124
+ type: 'string',
125
+ placeholder: '<time>',
126
+ description: 'Send at this future time, ISO 8601 with a time zone offset, e.g. 2026-10-24T09:00:00+08:00'
127
+ },
128
+ { name: '--manual', type: 'boolean', description: 'Wait to be sent with `sms task send` once it passes review' }
129
+ ];
130
+ const TASK_ARG = [{ name: 'id', required: true, description: 'Task id, from `sms task list`' }];
131
+ function placeholders(input) {
132
+ const keys = input.options.placeholder ?? [];
133
+ return keys.length > 0 ? keys : undefined;
134
+ }
135
+ /** When and how it sends, only as far as the flags say. */
136
+ function timing(input) {
137
+ return {
138
+ placeholder_keys: placeholders(input),
139
+ send_at: input.options.send_at,
140
+ auto_send: input.options.manual ? false : undefined
141
+ };
142
+ }
101
143
  /** Only the keys whose flags were given, so an update leaves the rest as it was. */
102
144
  function templateBody(input) {
103
145
  const body = {};
@@ -109,12 +151,40 @@ function templateBody(input) {
109
151
  body.apply_description = input.options.description;
110
152
  return body;
111
153
  }
154
+ /**
155
+ * One row per template, carrying its signature, so the template id a
156
+ * notification rule sends with is on the screen. A signature without
157
+ * templates still gets a row, for its own review status.
158
+ */
159
+ function templatesForReading(body) {
160
+ const signatures = body.signatures ?? [];
161
+ const data = signatures.flatMap((signature) => {
162
+ const own = {
163
+ signature: signature.signature,
164
+ signature_status: signature.status,
165
+ signature_reason: signature.reason
166
+ };
167
+ const templates = signature.templates ?? [];
168
+ if (templates.length === 0)
169
+ return [own];
170
+ return templates.map((template) => ({
171
+ template_id: template.id,
172
+ ...own,
173
+ template_status: template.status,
174
+ template_reason: template.reason,
175
+ content: template.content
176
+ }));
177
+ });
178
+ return { data };
179
+ }
112
180
  export const SMS = [
113
181
  {
114
182
  path: ['sms', 'status'],
115
183
  summary: 'List SMS signatures and templates with their review status and why a review failed',
116
- description: 'Your own signatures and templates, not those of the rest of the account.',
117
- request: () => call('listSmsAuditStatuses')
184
+ description: 'Your own signatures and templates, not those of the rest of the account. ' +
185
+ 'template_id is what `notification create --sms-template` takes.',
186
+ request: () => call('listSmsAuditStatuses'),
187
+ render: templatesForReading
118
188
  },
119
189
  {
120
190
  path: ['sms', 'signature', 'list'],
@@ -306,5 +376,201 @@ export const SMS = [
306
376
  return call('deleteSmsTemplate', { path: { id: input.args.id } });
307
377
  },
308
378
  examples: ['jinshuju sms template delete 6512a1c2d3e4f5a6b7c8d9e0 --yes']
379
+ },
380
+ {
381
+ path: ['sms', 'send'],
382
+ summary: 'Send an SMS template to the entries of a form',
383
+ description: 'Picks the entries the way `entry count` narrows them, or the whole form with --select-all, and sends to the ' +
384
+ 'mobile field --field names. --estimate answers how many entries and numbers it reaches, how many are missing ' +
385
+ 'a number, the SMS it bills and whether the quota covers them, and sends nothing; --yes sends. The entries are ' +
386
+ 'picked again when it sends, so a change in between changes what goes out. A template still under review is ' +
387
+ 'taken, and the task waits for it.',
388
+ options: [
389
+ FORM_OPTION,
390
+ MOBILE_FIELD_OPTION,
391
+ TEMPLATE_ID_OPTION,
392
+ ...TIMING_OPTIONS,
393
+ ...NARROWING_OPTIONS,
394
+ SELECT_ALL_OPTION,
395
+ ESTIMATE_OPTION,
396
+ SEND_OPTION
397
+ ],
398
+ request: (input) => {
399
+ const path = { form_token: required(input, 'form') };
400
+ const entry_field = required(input, 'field');
401
+ const sms_template_id = required(input, 'template_id');
402
+ if (estimating(input, 'Sending SMS')) {
403
+ return call('estimateSmsTask', {
404
+ path,
405
+ query: {
406
+ entry_field,
407
+ ...narrowingQuery(input),
408
+ select_all: selectAll(input),
409
+ sms_template_id,
410
+ placeholder_keys: placeholders(input)
411
+ }
412
+ });
413
+ }
414
+ return call('createSmsTask', {
415
+ path,
416
+ body: given({
417
+ entry_field,
418
+ ...narrowingBody(input),
419
+ select_all: selectAll(input),
420
+ sms_template_id,
421
+ ...timing(input)
422
+ })
423
+ });
424
+ },
425
+ examples: [
426
+ "jinshuju sms send --form Kp7mQ2 --field field_2 --template-id 6512a1c2d3e4f5a6b7c8d9e0 --filter 'field_5 eq 已报名' --estimate",
427
+ "jinshuju sms send --form Kp7mQ2 --field field_2 --template-id 6512a1c2d3e4f5a6b7c8d9e0 --filter 'field_5 eq 已报名' --yes",
428
+ 'jinshuju sms send --form Kp7mQ2 --field field_2 --template-id 6512a1c2d3e4f5a6b7c8d9e0 --select-all ' +
429
+ '--send-at 2026-10-24T09:00:00+08:00 --yes'
430
+ ]
431
+ },
432
+ {
433
+ path: ['sms', 'task', 'list'],
434
+ summary: "List a form's SMS tasks, newest first",
435
+ description: 'Without how many numbers succeeded or failed: `sms task get` has those.',
436
+ options: [
437
+ FORM_OPTION,
438
+ {
439
+ name: '--status',
440
+ type: 'string',
441
+ choices: choices('listSmsTasks', 'status'),
442
+ placeholder: '<status>',
443
+ description: 'Only the tasks in this status'
444
+ },
445
+ ...PAGINATION_OPTIONS
446
+ ],
447
+ request: (input) => call('listSmsTasks', {
448
+ path: { form_token: required(input, 'form') },
449
+ query: { status: input.options.status, ...paging(input) }
450
+ }),
451
+ paginate: LISTING,
452
+ examples: ['jinshuju sms task list --form Kp7mQ2', 'jinshuju sms task list --form Kp7mQ2 --status template_fail']
453
+ },
454
+ {
455
+ path: ['sms', 'task', 'get'],
456
+ summary: 'Show an SMS task and how many numbers succeeded or failed so far',
457
+ args: TASK_ARG,
458
+ options: [FORM_OPTION],
459
+ request: (input) => call('getSmsTask', { path: { form_token: required(input, 'form'), id: input.args.id } }),
460
+ examples: ['jinshuju sms task get 6716f2a8c1d2e3f4a5b6c7d9 --form Kp7mQ2']
461
+ },
462
+ {
463
+ path: ['sms', 'task', 'activities'],
464
+ summary: 'List the sending result of each number an SMS task sent to',
465
+ args: TASK_ARG,
466
+ options: [
467
+ FORM_OPTION,
468
+ {
469
+ name: '--status',
470
+ type: 'string',
471
+ choices: choices('listSmsTaskActivities', 'status'),
472
+ placeholder: '<status>',
473
+ description: 'Only the numbers with this result; both when omitted'
474
+ },
475
+ { name: '--mobile', type: 'string', placeholder: '<mobile>', description: 'Only this number' },
476
+ ...PAGINATION_OPTIONS
477
+ ],
478
+ request: (input) => call('listSmsTaskActivities', {
479
+ path: { form_token: required(input, 'form'), id: input.args.id },
480
+ query: {
481
+ status: input.options.status,
482
+ mobile: input.options.mobile,
483
+ ...paging(input)
484
+ }
485
+ }),
486
+ paginate: LISTING,
487
+ examples: ['jinshuju sms task activities 6716f2a8c1d2e3f4a5b6c7d9 --form Kp7mQ2 --status FAILED']
488
+ },
489
+ {
490
+ path: ['sms', 'task', 'revoke'],
491
+ summary: 'Revoke an SMS task waiting to send or under content review, so it never sends',
492
+ args: TASK_ARG,
493
+ options: [FORM_OPTION],
494
+ request: (input) => call('updateSmsTask', {
495
+ path: { form_token: required(input, 'form'), id: input.args.id },
496
+ body: { revoked: true }
497
+ }),
498
+ examples: ['jinshuju sms task revoke 6716f2a8c1d2e3f4a5b6c7d9 --form Kp7mQ2']
499
+ },
500
+ {
501
+ path: ['sms', 'task', 'change'],
502
+ summary: 'Change an SMS task whose template failed review, and send it again',
503
+ description: 'Only a task in template_fail. It keeps its entries and its id; --field and --placeholder left out keep what ' +
504
+ 'the task has. --estimate answers what it would bill with the new template and sends nothing; --yes sends.',
505
+ args: TASK_ARG,
506
+ options: [
507
+ FORM_OPTION,
508
+ TEMPLATE_ID_OPTION,
509
+ { ...MOBILE_FIELD_OPTION, description: `${MOBILE_FIELD_OPTION.description}; the task's own when omitted` },
510
+ ...TIMING_OPTIONS,
511
+ ESTIMATE_OPTION,
512
+ SEND_OPTION
513
+ ],
514
+ request: (input) => {
515
+ const path = { form_token: required(input, 'form'), id: input.args.id };
516
+ const sms_template_id = required(input, 'template_id');
517
+ const entry_field = input.options.field;
518
+ if (estimating(input, `Sending task ${input.args.id} again`)) {
519
+ return call('estimateSmsTaskChange', {
520
+ path,
521
+ query: { entry_field, sms_template_id, placeholder_keys: placeholders(input) }
522
+ });
523
+ }
524
+ return call('updateSmsTask', { path, body: given({ entry_field, sms_template_id, ...timing(input) }) });
525
+ },
526
+ examples: [
527
+ 'jinshuju sms task change 6716f2a8c1d2e3f4a5b6c7d9 --form Kp7mQ2 --template-id 6512a1c2d3e4f5a6b7c8d9e1 --estimate',
528
+ 'jinshuju sms task change 6716f2a8c1d2e3f4a5b6c7d9 --form Kp7mQ2 --template-id 6512a1c2d3e4f5a6b7c8d9e1 --yes'
529
+ ]
530
+ },
531
+ {
532
+ path: ['sms', 'task', 'send'],
533
+ summary: 'Send an SMS task created with --manual',
534
+ description: 'Once it has passed review. A task given a send time waits until then.',
535
+ args: TASK_ARG,
536
+ options: [FORM_OPTION, SEND_OPTION],
537
+ request: (input) => {
538
+ sendingConfirmed(input, `Sending task ${input.args.id}`);
539
+ return call('sendSmsTask', { path: { form_token: required(input, 'form'), id: input.args.id } });
540
+ },
541
+ examples: ['jinshuju sms task send 6716f2a8c1d2e3f4a5b6c7d9 --form Kp7mQ2 --yes']
542
+ },
543
+ {
544
+ path: ['sms', 'task', 'resend'],
545
+ summary: 'Send an SMS task again to the entries that got a result',
546
+ description: 'A new task, with the same template and variables, to the entries of this one that got --status: FAILED, ' +
547
+ 'SUCCESS or ALL. A filter, keyword or view narrows them further, and a serial_number none_in condition leaves ' +
548
+ 'some out. It sends at once. --estimate answers what it would send and bill and sends nothing; --yes sends.',
549
+ args: TASK_ARG,
550
+ options: [
551
+ FORM_OPTION,
552
+ {
553
+ name: '--status',
554
+ type: 'string',
555
+ choices: bodyChoices('resendSmsTask', 'status'),
556
+ placeholder: '<status>',
557
+ description: 'Send again to the entries with this result; ALL for every one the task sent to'
558
+ },
559
+ ...NARROWING_OPTIONS,
560
+ ESTIMATE_OPTION,
561
+ SEND_OPTION
562
+ ],
563
+ request: (input) => {
564
+ const path = { form_token: required(input, 'form'), id: input.args.id };
565
+ const status = required(input, 'status');
566
+ if (estimating(input, `Sending task ${input.args.id} again`)) {
567
+ return call('estimateSmsTaskResend', { path, query: { status, ...narrowingQuery(input) } });
568
+ }
569
+ return call('resendSmsTask', { path, body: given({ status, ...narrowingBody(input) }) });
570
+ },
571
+ examples: [
572
+ 'jinshuju sms task resend 6716f2a8c1d2e3f4a5b6c7d9 --form Kp7mQ2 --status FAILED --estimate',
573
+ "jinshuju sms task resend 6716f2a8c1d2e3f4a5b6c7d9 --form Kp7mQ2 --status FAILED --filter 'serial_number none_in 3,8' --yes"
574
+ ]
309
575
  }
310
576
  ];
package/dist/config.d.ts CHANGED
@@ -63,7 +63,7 @@ export declare const defaultConfigPath: string;
63
63
  export declare const defaultHost = "https://jinshuju.net";
64
64
  export declare const defaultAuthHost = "https://account.jinshuju.net";
65
65
  export declare const defaultOAuthClientId = "jinshuju_cli_public";
66
- export declare const defaultScopes = "public forms read_entries write_entries form_setting read_contacts users";
66
+ export declare const defaultScopes = "public forms read_entries write_entries form_setting read_contacts users routines";
67
67
  /**
68
68
  * One credential at a time: a login of either kind replaces whatever the last
69
69
  * one stored, so the file never holds two that disagree about who is calling.
package/dist/config.js CHANGED
@@ -6,7 +6,7 @@ export const defaultConfigPath = join(homedir(), '.jinshuju', 'config.json');
6
6
  export const defaultHost = 'https://jinshuju.net';
7
7
  export const defaultAuthHost = 'https://account.jinshuju.net';
8
8
  export const defaultOAuthClientId = 'jinshuju_cli_public';
9
- export const defaultScopes = 'public forms read_entries write_entries form_setting read_contacts users';
9
+ export const defaultScopes = 'public forms read_entries write_entries form_setting read_contacts users routines';
10
10
  function readConfigFile(configPath) {
11
11
  if (!existsSync(configPath))
12
12
  return {};
@@ -1,7 +1,7 @@
1
1
  import type { Operation, Schema } from '../spec.js';
2
2
  /** The path every operation's path is relative to, from `servers`. */
3
3
  export declare const BASE_PATH = "/api/v1";
4
- export type OperationId = 'aggregateEntries' | 'aggregateFormViewEntries' | 'aggregateTableEntries' | 'aggregateTableViewEntries' | 'aggregateTradeTransactions' | 'checkFormFieldData' | 'checkTableFieldData' | 'copyForm' | 'countEntries' | 'countEntriesAcrossForms' | 'countFormViewEntries' | 'countTableEntries' | 'countTableViewEntries' | 'createCheckinCampaign' | 'createEntriesBatch' | 'createEntry' | 'createEntryComment' | 'createEntryImport' | 'createEntryLegacy' | 'createFillFormEntry' | 'createFillViewEntry' | 'createFolder' | 'createForm' | 'createFormView' | 'createFormWebhook' | 'createOpensearchQuery' | 'createPredefinedChoicesSet' | 'createSmsSignature' | 'createSmsTemplate' | 'createTable' | 'createTableEntry' | 'createTableEntryComment' | 'createTableView' | 'createTemplateUsage' | 'createWeixinOauthSession' | 'deleteCheckinCampaign' | 'deleteEntry' | 'deleteEntryComment' | 'deleteForm' | 'deleteFormView' | 'deleteFormWebhook' | 'deletePredefinedChoicesSet' | 'deleteSmsSignature' | 'deleteSmsTemplate' | 'deleteTable' | 'deleteTableEntry' | 'deleteTableEntryComment' | 'deleteTableView' | 'getBillingAccount' | 'getCheckinCampaign' | 'getCurrentUser' | 'getEntry' | 'getEntryImport' | 'getEntryStats' | 'getEvaluationSetting' | 'getExamSetting' | 'getFieldType' | 'getFillFormPage' | 'getFillViewPage' | 'getFolder' | 'getForm' | 'getFormSetting' | 'getFormView' | 'getManuallyCloseRule' | 'getOpensearchQuery' | 'getTable' | 'getTableEntry' | 'getTableView' | 'getTradeMerchant' | 'listBillingAccountInvoices' | 'listBillingAccountPaidFeatures' | 'listBillingAccountPaymentHistories' | 'listBillingAccountUsers' | 'listCheckinCampaigns' | 'listContacts' | 'listEntries' | 'listEntryComments' | 'listExtendedAttributes' | 'listFieldRules' | 'listFieldTypes' | 'listFolders' | 'listFormCooperators' | 'listFormViewEntries' | 'listFormViews' | 'listForms' | 'listMyFilledForms' | 'listMySubmittedEntries' | 'listOpensearchQueries' | 'listOpensearchQuerySuggestions' | 'listPredefinedChoicesSets' | 'listSmsAuditStatuses' | 'listSmsSignatures' | 'listSmsTemplates' | 'listTableEntries' | 'listTableEntryComments' | 'listTableViewEntries' | 'listTableViews' | 'listTables' | 'listTradePayouts' | 'listTradeRefunds' | 'listTradeTransactions' | 'moveFormToFolder' | 'moveTableToFolder' | 'patchEntriesBatch' | 'previewFormFieldTypeChange' | 'previewTableFieldTypeChange' | 'replaceEntry' | 'replaceTableEntry' | 'searchEntriesAcrossForms' | 'searchMySubmittedEntries' | 'summarizeEntries' | 'summarizeFormViewEntries' | 'summarizeTableEntries' | 'summarizeTableViewEntries' | 'updateAccessPolicy' | 'updateCheckinCampaign' | 'updateEntry' | 'updateEntryComment' | 'updateEntryViaPost' | 'updateEvaluationSetting' | 'updateExamSetting' | 'updateForm' | 'updateFormSetting' | 'updateFormTheme' | 'updateFormView' | 'updateManuallyCloseRule' | 'updateOpensearchQuery' | 'updatePredefinedChoicesSet' | 'updateSmsSignature' | 'updateSmsTemplate' | 'updateTable' | 'updateTableEntry' | 'updateTableEntryComment' | 'updateTableEntryViaPost' | 'updateTableView' | 'uploadEntryAttachment' | 'uploadFormImage' | 'uploadImportFile' | 'uploadUserLicenseAttachment' | 'verifyRedirectParams';
4
+ export type OperationId = 'aggregateEntries' | 'aggregateFormViewEntries' | 'aggregateTableEntries' | 'aggregateTableViewEntries' | 'aggregateTradeTransactions' | 'checkFormFieldData' | 'checkTableFieldData' | 'copyForm' | 'countEntries' | 'countEntriesAcrossForms' | 'countFormViewEntries' | 'countTableEntries' | 'countTableViewEntries' | 'createCheckinCampaign' | 'createEmailTask' | 'createEntriesBatch' | 'createEntry' | 'createEntryComment' | 'createEntryImport' | 'createEntryLegacy' | 'createFillFormEntry' | 'createFillViewEntry' | 'createFolder' | 'createForm' | 'createFormView' | 'createFormWebhook' | 'createNotificationRule' | 'createOpensearchQuery' | 'createPredefinedChoicesSet' | 'createRoutine' | 'createSmsSignature' | 'createSmsTask' | 'createSmsTemplate' | 'createTable' | 'createTableEntry' | 'createTableEntryComment' | 'createTableView' | 'createTemplateUsage' | 'createWeixinOauthSession' | 'deleteCheckinCampaign' | 'deleteEntry' | 'deleteEntryComment' | 'deleteForm' | 'deleteFormView' | 'deleteFormWebhook' | 'deleteNotificationRule' | 'deletePredefinedChoicesSet' | 'deleteRoutine' | 'deleteSmsSignature' | 'deleteSmsTemplate' | 'deleteTable' | 'deleteTableEntry' | 'deleteTableEntryComment' | 'deleteTableView' | 'estimateEmailTask' | 'estimateEmailTaskResend' | 'estimateSmsTask' | 'estimateSmsTaskChange' | 'estimateSmsTaskResend' | 'getBillingAccount' | 'getCheckinCampaign' | 'getCurrentUser' | 'getEmailTask' | 'getEntry' | 'getEntryImport' | 'getEntryStats' | 'getEvaluationSetting' | 'getExamSetting' | 'getFieldType' | 'getFillFormPage' | 'getFillViewPage' | 'getFolder' | 'getForm' | 'getFormSetting' | 'getFormView' | 'getManuallyCloseRule' | 'getNotificationRule' | 'getOpensearchQuery' | 'getRoutine' | 'getSmsTask' | 'getTable' | 'getTableEntry' | 'getTableView' | 'getTradeMerchant' | 'listBillingAccountInvoices' | 'listBillingAccountPaidFeatures' | 'listBillingAccountPaymentHistories' | 'listBillingAccountUsers' | 'listCheckinCampaigns' | 'listContacts' | 'listEmailTaskActivities' | 'listEmailTasks' | 'listEntries' | 'listEntryComments' | 'listExtendedAttributes' | 'listFieldRules' | 'listFieldTypes' | 'listFolders' | 'listFormCooperators' | 'listFormViewEntries' | 'listFormViews' | 'listForms' | 'listMyFilledForms' | 'listMySubmittedEntries' | 'listNotificationRules' | 'listOpensearchQueries' | 'listOpensearchQuerySuggestions' | 'listPredefinedChoicesSets' | 'listRoutineRuns' | 'listRoutines' | 'listSmsAuditStatuses' | 'listSmsSignatures' | 'listSmsTaskActivities' | 'listSmsTasks' | 'listSmsTemplates' | 'listSmtpAccounts' | 'listTableEntries' | 'listTableEntryComments' | 'listTableViewEntries' | 'listTableViews' | 'listTables' | 'listTradePayouts' | 'listTradeRefunds' | 'listTradeTransactions' | 'moveFormToFolder' | 'moveTableToFolder' | 'patchEntriesBatch' | 'pauseRoutine' | 'previewFormFieldTypeChange' | 'previewTableFieldTypeChange' | 'replaceEntry' | 'replaceTableEntry' | 'resendEmailTask' | 'resendSmsTask' | 'resumeRoutine' | 'runRoutine' | 'searchEntriesAcrossForms' | 'searchMySubmittedEntries' | 'sendSmsTask' | 'summarizeEntries' | 'summarizeFormViewEntries' | 'summarizeTableEntries' | 'summarizeTableViewEntries' | 'updateAccessPolicy' | 'updateCheckinCampaign' | 'updateEntry' | 'updateEntryComment' | 'updateEntryViaPost' | 'updateEvaluationSetting' | 'updateExamSetting' | 'updateForm' | 'updateFormSetting' | 'updateFormTheme' | 'updateFormView' | 'updateManuallyCloseRule' | 'updateNotificationRule' | 'updateOpensearchQuery' | 'updatePredefinedChoicesSet' | 'updateRoutine' | 'updateSmsSignature' | 'updateSmsTask' | 'updateSmsTemplate' | 'updateTable' | 'updateTableEntry' | 'updateTableEntryComment' | 'updateTableEntryViaPost' | 'updateTableView' | 'uploadEntryAttachment' | 'uploadFormImage' | 'uploadImportFile' | 'uploadUserLicenseAttachment' | 'verifyRedirectParams';
5
5
  export declare const OPERATIONS: {
6
6
  readonly [id in OperationId]: Operation;
7
7
  };