Milestone 0: import zappier billing, Verae middleware, and Zapier research
Compose-ready workspace: packages/zappier (rate card, portal, Stripe), packages/verae-zapier-middleware (timestamp + NATS), packages/verae-zapier (CLI app), vendor/zapier-platform, and research/zapier vendor corpus. Gate 0 structure checks pass. Product code and research are not yet wired.
This commit is contained in:
commit
b4150c8250
1364 changed files with 6814366 additions and 0 deletions
36
research/zapier/scratch/veraetime/src/index.ts
Normal file
36
research/zapier/scratch/veraetime/src/index.ts
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
import zapier, { defineApp } from 'zapier-platform-core';
|
||||
|
||||
import packageJson from '../package.json' with { type: 'json' };
|
||||
|
||||
import authentication from './authentication.js';
|
||||
import { befores, afters } from './middleware.js';
|
||||
import timestamp from './creates/timestamp.js';
|
||||
import timestampWait from './creates/timestamp_wait.js';
|
||||
import batchTimestamp from './creates/batch_timestamp.js';
|
||||
import verifyCertificate from './creates/verify.js';
|
||||
import jobStatus from './searches/job_status.js';
|
||||
import jobVerification from './searches/job_verification.js';
|
||||
import timestampCompleted from './triggers/timestamp_completed.js';
|
||||
|
||||
export default defineApp({
|
||||
version: packageJson.version,
|
||||
platformVersion: zapier.version,
|
||||
|
||||
authentication,
|
||||
beforeRequest: [...befores],
|
||||
afterResponse: [...afters],
|
||||
|
||||
triggers: {
|
||||
[timestampCompleted.key]: timestampCompleted,
|
||||
},
|
||||
creates: {
|
||||
[timestamp.key]: timestamp,
|
||||
[timestampWait.key]: timestampWait,
|
||||
[batchTimestamp.key]: batchTimestamp,
|
||||
[verifyCertificate.key]: verifyCertificate,
|
||||
},
|
||||
searches: {
|
||||
[jobStatus.key]: jobStatus,
|
||||
[jobVerification.key]: jobVerification,
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue