Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions meta.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"package": "@oomol-lab/connector-types",
"version": "0.1.0",
"generatedFrom": "sha256:571d6ab406cfd1a8a9c0bf73d77f7d7e5bf0ecae2ff9ed7eef17fe7eb0f44b85",
"providerCount": 1474,
"actionCount": 15420,
"generatedFrom": "sha256:3f0d845d21f97a1da7365c0a5c4fe232861953f3e6d8bbdde404c36f8b6859e5",
"providerCount": 1479,
"actionCount": 16340,
"connectorContractTarget": "RegistryEntry { input: unknown; output: unknown }",
"connectorPkgVersion": ">=0.1.0"
}
29,429 changes: 28,722 additions & 707 deletions providers/app_store_connect.d.ts

Large diffs are not rendered by default.

1,484 changes: 1,484 additions & 0 deletions providers/app_store_server.d.ts

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions providers/app_store_server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
12,354 changes: 12,354 additions & 0 deletions providers/apple_ads.d.ts

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions providers/apple_ads.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
108 changes: 108 additions & 0 deletions providers/apple_notary.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
import "@oomol-lab/connector";

declare module "@oomol-lab/connector" {
interface ActionRegistry {
/** Get a download URL for the notarization log of one submission. The log is a JSON file listing everything the notary service found, including warnings on a submission it accepted, so it is worth reading even after a successful notarization. This action returns the URL only and downloads nothing; the URL expires after a few hours, and calling this action again issues a fresh one. */
"apple_notary.get_submission_log": {
input: {
/**
* Identifier of the submission, as returned in submissionId by submit_software or in id by list_submissions.
* @maxLength 36
* @format uuid
*/
submissionId: string;
};
output: {
/** Identifier of the submission the log belongs to. */
submissionId: string;
/** Temporary URL that serves the JSON log file. It expires after a few hours. */
developerLogUrl: string;
};
};
/** Read the state of one notarization submission. In Progress means the notary service has not finished yet, or that the software was never uploaded to Amazon S3; Accepted, Invalid and Rejected are final. Read get_submission_log afterwards in every case, because an accepted submission can still carry warnings. */
"apple_notary.get_submission_status": {
input: {
/**
* Identifier of the submission, as returned in submissionId by submit_software or in id by list_submissions.
* @maxLength 36
* @format uuid
*/
submissionId: string;
};
output: {
/** Identifier of the submission that was read. */
submissionId: string;
/** One notarization submission. The notary service omits an attribute it has no value for. */
submission: {
/** Identifier the notary service assigned to the submission. */
id: string;
/** File name that was supplied as submissionName when the submission was created. */
name?: string | null;
/** State of the submission. In Progress means notarization has not finished yet. */
status?: "Accepted" | "In Progress" | "Invalid" | "Rejected" | null;
/** When the submission was created, as an ISO 8601 timestamp such as 2022-06-08T01:38:09.498Z. */
createdDate?: string | null;
[key: string]: unknown;
};
};
};
/** List the notarization submissions of the team behind the connected key. The notary service returns at most the 100 most recent ones and offers no pagination and no filtering, so this is the way to recover a submission identifier that was lost, not a full history. */
"apple_notary.list_submissions": {
input: Record<string, never>;
output: {
/** The submissions the notary service returned, at most the 100 most recent ones. */
submissions: Array<{
/** Identifier the notary service assigned to the submission. */
id: string;
/** File name that was supplied as submissionName when the submission was created. */
name?: string | null;
/** State of the submission. In Progress means notarization has not finished yet. */
status?: "Accepted" | "In Progress" | "Invalid" | "Rejected" | null;
/** When the submission was created, as an ISO 8601 timestamp such as 2022-06-08T01:38:09.498Z. */
createdDate?: string | null;
[key: string]: unknown;
}>;
};
};
/** Register a new notarization submission and get the temporary Amazon S3 credentials that upload the software. This action uploads nothing: it reserves the submission and returns the bucket, the object key and short-lived AWS credentials, and you then upload the exact file whose SHA-256 you passed here yourself. The credentials expire 12 hours after this call. The notary service only starts notarizing once that upload finishes, so a submission whose file was never uploaded stays In Progress; after uploading, poll get_submission_status until the status leaves In Progress. */
"apple_notary.submit_software": {
input: {
/**
* Name of the file you are going to upload, including its .zip, .dmg or .pkg extension. The notary service echoes it back in submission status and history responses. It does not have to be unique.
* @minLength 1
* @pattern \S
*/
submissionName: string;
/**
* SHA-256 digest of the exact file you are going to upload, as 64 hexadecimal characters. The notary service checks the uploaded bytes against it.
* @minLength 64
* @maxLength 64
* @pattern ^[0-9a-fA-F]+$
*/
sha256: string;
/**
* URLs the notary service posts to once notarization finishes. Apple sends a signed JSON body carrying the submission identifier, the team identifier and the start and end times. Omit this to poll get_submission_status instead.
* @minItems 1
*/
notificationWebhookUrls?: Array<string>;
};
output: {
/** Identifier the notary service assigned to this submission. Pass it to get_submission_status and get_submission_log. */
submissionId: string;
/** Everything needed to upload the software to Amazon S3. The credentials are temporary and expire 12 hours after this call. */
upload: {
/** Amazon S3 bucket the software has to be uploaded into. */
bucket: string;
/** Object key that identifies this upload inside the bucket. */
object: string;
/** Access key identifier of the temporary AWS credentials. */
awsAccessKeyId: string;
/** Secret access key of the temporary AWS credentials. */
awsSecretAccessKey: string;
/** Session token of the temporary AWS credentials. */
awsSessionToken: string;
};
};
};
}
}
1 change: 1 addition & 0 deletions providers/apple_notary.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
177 changes: 150 additions & 27 deletions providers/feishu.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -843,12 +843,46 @@ declare module "@oomol-lab/connector" {
* @minItems 1
*/
fields: Array<{
/** The field name. */
name?: string;
/** The field type such as `text`, `number`, or `select`. */
type?: string;
/** The type-specific field configuration. */
property?: Record<string, unknown>;
/**
* The field name.
* @minLength 1
*/
name: string;
/** The Base v3 field type. Single and multiple choice both use select. */
type: "text" | "number" | "select" | "datetime" | "created_at" | "updated_at" | "user" | "group_chat" | "created_by" | "updated_by" | "link" | "formula" | "lookup" | "auto_number" | "attachment" | "location" | "checkbox" | "button";
/** The field description, in plain text or Markdown. */
description?: string;
/** The type-specific display style, such as { "type": "plain", "precision": 2 } for a number. */
style?: Record<string, unknown>;
/** Whether select, user, or group_chat accepts multiple values. */
multiple?: boolean;
/** Static select options. Use options or dynamic_options_source, not both. */
options?: Array<{
/**
* The option name.
* @minLength 1
*/
name: string;
/** The option color hue, such as Blue or Green. */
hue?: string;
/** The option color lightness, such as Light or Standard. */
lightness?: string;
}>;
/** The source field for dynamic select options, available when creating a field. */
dynamic_options_source?: {
/**
* The source table ID or name.
* @minLength 1
*/
table_id: string;
/**
* The source field ID or name.
* @minLength 1
*/
field_id: string;
};
/** The default cell value for text, number, static select, datetime, or user. Select defaults are option-name arrays, even for single choice. Use null to clear the default. */
default_value?: unknown;
[key: string]: unknown;
}>;
};
Expand Down Expand Up @@ -963,14 +997,48 @@ declare module "@oomol-lab/connector" {
* @minLength 1
*/
tableId: string;
/** A Base field definition using the official field JSON shape. */
/** A Base v3 field definition. Put type-specific configuration at the top level, not in property. Use select with multiple for single/multiple choice, and datetime for dates. Advanced types accept their official top-level fields: link_table for link, expression for formula, from/select/where for lookup, and button_config for button. */
field: {
/** The field name. */
name?: string;
/** The field type such as `text`, `number`, or `select`. */
type?: string;
/** The type-specific field configuration. */
property?: Record<string, unknown>;
/**
* The field name.
* @minLength 1
*/
name: string;
/** The Base v3 field type. Single and multiple choice both use select. */
type: "text" | "number" | "select" | "datetime" | "created_at" | "updated_at" | "user" | "group_chat" | "created_by" | "updated_by" | "link" | "formula" | "lookup" | "auto_number" | "attachment" | "location" | "checkbox" | "button";
/** The field description, in plain text or Markdown. */
description?: string;
/** The type-specific display style, such as { "type": "plain", "precision": 2 } for a number. */
style?: Record<string, unknown>;
/** Whether select, user, or group_chat accepts multiple values. */
multiple?: boolean;
/** Static select options. Use options or dynamic_options_source, not both. */
options?: Array<{
/**
* The option name.
* @minLength 1
*/
name: string;
/** The option color hue, such as Blue or Green. */
hue?: string;
/** The option color lightness, such as Light or Standard. */
lightness?: string;
}>;
/** The source field for dynamic select options, available when creating a field. */
dynamic_options_source?: {
/**
* The source table ID or name.
* @minLength 1
*/
table_id: string;
/**
* The source field ID or name.
* @minLength 1
*/
field_id: string;
};
/** The default cell value for text, number, static select, datetime, or user. Select defaults are option-name arrays, even for single choice. Use null to clear the default. */
default_value?: unknown;
[key: string]: unknown;
};
};
Expand Down Expand Up @@ -1127,12 +1195,46 @@ declare module "@oomol-lab/connector" {
* @minItems 1
*/
fields?: Array<{
/** The field name. */
name?: string;
/** The field type such as `text`, `number`, or `select`. */
type?: string;
/** The type-specific field configuration. */
property?: Record<string, unknown>;
/**
* The field name.
* @minLength 1
*/
name: string;
/** The Base v3 field type. Single and multiple choice both use select. */
type: "text" | "number" | "select" | "datetime" | "created_at" | "updated_at" | "user" | "group_chat" | "created_by" | "updated_by" | "link" | "formula" | "lookup" | "auto_number" | "attachment" | "location" | "checkbox" | "button";
/** The field description, in plain text or Markdown. */
description?: string;
/** The type-specific display style, such as { "type": "plain", "precision": 2 } for a number. */
style?: Record<string, unknown>;
/** Whether select, user, or group_chat accepts multiple values. */
multiple?: boolean;
/** Static select options. Use options or dynamic_options_source, not both. */
options?: Array<{
/**
* The option name.
* @minLength 1
*/
name: string;
/** The option color hue, such as Blue or Green. */
hue?: string;
/** The option color lightness, such as Light or Standard. */
lightness?: string;
}>;
/** The source field for dynamic select options, available when creating a field. */
dynamic_options_source?: {
/**
* The source table ID or name.
* @minLength 1
*/
table_id: string;
/**
* The source field ID or name.
* @minLength 1
*/
field_id: string;
};
/** The default cell value for text, number, static select, datetime, or user. Select defaults are option-name arrays, even for single choice. Use null to clear the default. */
default_value?: unknown;
[key: string]: unknown;
}>;
};
Expand Down Expand Up @@ -11471,7 +11573,7 @@ declare module "@oomol-lab/connector" {
success: boolean;
};
};
/** Update one field in a Feishu Base table. */
/** Replace one field definition in a Feishu Base table. Read the field first and include all writable configuration to preserve; this is a full PUT replacement, not a partial update. */
"feishu.update_base_field": {
input: {
/**
Expand All @@ -11489,14 +11591,35 @@ declare module "@oomol-lab/connector" {
* @minLength 1
*/
fieldId: string;
/** A Base field definition using the official field JSON shape. */
/** A Base v3 field definition. Put type-specific configuration at the top level, not in property. Use select with multiple for single/multiple choice, and datetime for dates. Advanced types accept their official top-level fields: link_table for link, expression for formula, from/select/where for lookup, and button_config for button. */
field: {
/** The field name. */
name?: string;
/** The field type such as `text`, `number`, or `select`. */
type?: string;
/** The type-specific field configuration. */
property?: Record<string, unknown>;
/**
* The field name.
* @minLength 1
*/
name: string;
/** The Base v3 field type. Single and multiple choice both use select. */
type: "text" | "number" | "select" | "datetime" | "created_at" | "updated_at" | "user" | "group_chat" | "created_by" | "updated_by" | "link" | "formula" | "lookup" | "auto_number" | "attachment" | "location" | "checkbox" | "button";
/** The field description, in plain text or Markdown. */
description?: string;
/** The type-specific display style, such as { "type": "plain", "precision": 2 } for a number. */
style?: Record<string, unknown>;
/** Whether select, user, or group_chat accepts multiple values. */
multiple?: boolean;
/** The static select options. */
options?: Array<{
/**
* The option name.
* @minLength 1
*/
name: string;
/** The option color hue, such as Blue or Green. */
hue?: string;
/** The option color lightness, such as Light or Standard. */
lightness?: string;
}>;
/** The default cell value for text, number, static select, datetime, or user. Select defaults are option-name arrays, even for single choice. Use null to clear the default. */
default_value?: unknown;
[key: string]: unknown;
};
};
Expand Down
Loading