@scalix-world/sdk 1.4.0 → 1.4.1
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.
- package/dist/cjs/generated/index.d.ts +2 -2
- package/dist/cjs/generated/index.d.ts.map +1 -1
- package/dist/cjs/generated/index.js +24 -6
- package/dist/cjs/generated/index.js.map +1 -1
- package/dist/cjs/generated/sdk.gen.d.ts +134 -3
- package/dist/cjs/generated/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/generated/sdk.gen.js +256 -7
- package/dist/cjs/generated/sdk.gen.js.map +1 -1
- package/dist/cjs/generated/types.gen.d.ts +893 -64
- package/dist/cjs/generated/types.gen.d.ts.map +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/generated/index.d.ts +2 -2
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/index.js +1 -1
- package/dist/esm/generated/index.js.map +1 -1
- package/dist/esm/generated/sdk.gen.d.ts +134 -3
- package/dist/esm/generated/sdk.gen.d.ts.map +1 -1
- package/dist/esm/generated/sdk.gen.js +233 -2
- package/dist/esm/generated/sdk.gen.js.map +1 -1
- package/dist/esm/generated/types.gen.d.ts +893 -64
- package/dist/esm/generated/types.gen.d.ts.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +2 -2
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.generateImage = exports.createEmbeddings = exports.listDocgenVersions = exports.listDocgenTemplates = exports.getDocgenStatus = exports.reviseDocgen = exports.previewDocgen = exports.getDocgenHistory = exports.listDocgenFormats = exports.downloadDocgen = exports.createDocgen = exports.streamChatCompletion = exports.chatCompletion = exports.transcribeAudio = exports.generateSpeech = exports.readyz = exports.getOpenapiSpec = exports.healthz = exports.getUsageSummary = exports.registerWebhook = exports.listWebhooks = exports.upsertVectors = exports.searchVectors = exports.createVectorCollection = exports.listVectorCollections = exports.batchUpsertVectors = exports.branchTimeline = exports.realtimeWebsocket = exports.subscribeRealtime = exports.restorePitr = exports.getMigrationPlan = exports.registerMigration = exports.batchSql = exports.executeSql = exports.getServicesStatus = exports.getTableSchema = exports.getSchemaRelationships = exports.listPiiColumns = exports.searchSchemaColumns = exports.getSchema = exports.getScalingSuggestions = exports.listQueryLogs = exports.optimizeQuery = exports.naturalLanguageToSql = exports.callMcpTool = exports.listMcpTools = exports.rotateEncryptionKey = exports.encryptData = exports.decryptData = exports.detectAnomalies = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.getWafStats = exports.updateWafRule = exports.deleteWafRule = exports.createWafRule = exports.listWafRules = exports.listWafEvents = exports.removeVpcPeer = exports.addVpcPeer = exports.listVpcPeers = exports.getVpcConfig = exports.getVpc = exports.deleteVpc = exports.createVpc = exports.listVpcs = void 0;
|
|
5
|
+
exports.getBuild = exports.uploadBuild = exports.createBuild = exports.listBuilds = exports.verifyEmail = exports.exportAuthUser = exports.recordAuthUserConsent = exports.listAuthUserConsent = exports.updateAuthUser = exports.getAuthUser = exports.signUp = exports.revokeSession = exports.listSessions = exports.resendVerification = exports.refreshToken = exports.resetPassword = exports.requestPasswordReset = exports.verifyOtp = exports.sendOtp = exports.oauthCallback = exports.authorizeOauth = exports.verifyMfa = exports.deleteMfaFactor = exports.listMfaFactors = exports.enrollMfa = exports.challengeMfa = exports.listUserOrgs = exports.verifyMagicLink = exports.sendMagicLink = exports.logout = exports.login = exports.linkIdentity = exports.signUpAnonymous = exports.textVectorSearch = exports.translateText = exports.summarizeText = exports.analyzeSentiment = exports.checkGrammar = exports.autocompleteText = exports.getResearchStatus = exports.searchResearch = exports.runDeepResearch = exports.runResearch = exports.uploadRagDocument = exports.getRagStatus = exports.queryRag = exports.deleteRagDocument = exports.listRagDocuments = exports.getAiProvidersStatus = exports.listModels = void 0;
|
|
6
|
+
exports.getEmailCampaignAnalytics = exports.verifyDomain = exports.provisionDomainSsl = exports.getDomain = exports.deleteDomain = exports.addDomain = exports.listDomains = exports.restoreDatabase = exports.getDatabase = exports.deleteDatabase = exports.provisionDatabase = exports.createDatabase = exports.listDatabases = exports.triggerCronSchedule = exports.listCronExecutions = exports.updateCronSchedule = exports.getCronSchedule = exports.deleteCronSchedule = exports.createCronSchedule = exports.listCronSchedules = exports.computerStop = exports.computerStart = exports.computerSetSshKeys = exports.computerWriteFiles = exports.computerReadFile = exports.computerExec = exports.computerGet = exports.computerDelete = exports.computerGetOrCreateByName = exports.computerCreate = exports.computerList = exports.listDeploymentVersions = exports.scaleDeployment = exports.rollbackDeployment = exports.restartDeployment = exports.getDeploymentLogs = exports.listDeploymentInstances = exports.getDeployment = exports.deleteDeployment = exports.createDeployment = exports.listDeployments = exports.getComplianceStatus = exports.updateGdprRequestStatus = exports.getGdprRequest = exports.createGdprRequest = exports.listGdprRequests = exports.exportAuditLog = exports.queryAuditLog = exports.getBuildLogs = exports.cancelBuild = void 0;
|
|
7
|
+
exports.kvGet = exports.kvExists = exports.kvDel = exports.updateIntegration = exports.getIntegration = exports.deleteIntegration = exports.listGithubRepos = exports.createGithubInstallationToken = exports.listGithubInstallations = exports.createIntegration = exports.listIntegrations = exports.getFunctionLogs = exports.invokeFunction = exports.listFunctionInvocations = exports.updateFunction = exports.getFunction = exports.deleteFunction = exports.createFunction = exports.listFunctions = exports.createEventSubscription = exports.listTopicSubscriptions = exports.publishEvent = exports.listTopicEvents = exports.getEventTopic = exports.deleteEventTopic = exports.createEventTopic = exports.listEventTopics = exports.listSubscriptionDeliveries = exports.getEventSubscription = exports.deleteEventSubscription = exports.deleteEnvVar = exports.bulkImportEnvVars = exports.setEnvVar = exports.listEnvVars = exports.updateEmailTemplate = exports.deleteEmailTemplate = exports.createEmailTemplate = exports.listEmailTemplates = exports.listEmailSuppression = exports.getEmailStats = exports.updateEmailSettings = exports.getEmailSettings = exports.sendTransactionalEmail = exports.sendRawEmail = exports.listEmailEvents = exports.verifyEmailDomain = exports.deleteEmailDomain = exports.addEmailDomain = exports.listEmailDomains = exports.getEmailAnalyticsSummary = void 0;
|
|
8
|
+
exports.deleteShieldCustomRule = exports.createShieldCustomRule = exports.setShieldCrawlerPolicy = exports.clearShieldCrawlerPolicy = exports.setShieldCrawlerIpRanges = exports.listShieldCrawlers = exports.updateShieldConfig = exports.getShieldConfig = exports.getSearchStats = exports.upsertSearchSource = exports.listSearchSources = exports.runSearchIngest = exports.searchIndex = exports.sandboxSnapshot = exports.sandboxReadFile = exports.sandboxWriteFiles = exports.sandboxExtend = exports.sandboxRunCommand = exports.sandboxGet = exports.sandboxDelete = exports.sandboxCreate = exports.sandboxList = exports.rollbackService = exports.listServiceRevisions = exports.getServiceMetrics = exports.listServiceInstances = exports.updateService = exports.getService = exports.deleteService = exports.createService = exports.listServices = exports.listRegistryTags = exports.putRegistryManifest = exports.headRegistryManifest = exports.getRegistryManifest = exports.deleteRegistryManifest = exports.headRegistryBlob = exports.getRegistryBlob = exports.startRegistryBlobUpload = exports.getRegistryCatalog = exports.registryVersionCheck = exports.getMe = exports.removeLoadBalancerBackend = exports.addLoadBalancerBackend = exports.getLoadBalancer = exports.deleteLoadBalancer = exports.createLoadBalancer = exports.listLoadBalancers = exports.kvSet = exports.kvKeys = void 0;
|
|
9
|
+
exports.getWafStats = exports.updateWafRule = exports.deleteWafRule = exports.createWafRule = exports.listWafRules = exports.listWafEvents = exports.removeVpcPeer = exports.addVpcPeer = exports.listVpcPeers = exports.getVpcConfig = exports.getVpc = exports.deleteVpc = exports.createVpc = exports.listVpcs = exports.getUserStats = exports.getUserInfo = exports.getUserBudget = exports.getKeyUsage = exports.getKeysUsage = exports.presignObject = exports.deleteBucket = exports.putObject = exports.headObject = exports.getObject = exports.deleteObject = exports.listObjects = exports.createBucket = exports.listBuckets = exports.getShieldStats = exports.getShieldRobotsTxt = exports.listShieldEvents = exports.updateShieldCustomRule = void 0;
|
|
10
10
|
const client_gen_js_1 = require("./client.gen.js");
|
|
11
11
|
const index_js_1 = require("./client/index.js");
|
|
12
12
|
/**
|
|
@@ -1196,6 +1196,9 @@ exports.listBuilds = listBuilds;
|
|
|
1196
1196
|
* Start a build.
|
|
1197
1197
|
*
|
|
1198
1198
|
* Starts a container image build and returns the build record.
|
|
1199
|
+
*
|
|
1200
|
+
* For a private repository, either install the Scalix GitHub App for the
|
|
1201
|
+
* project (builds then authenticate themselves) or pass `auth_token`.
|
|
1199
1202
|
*/
|
|
1200
1203
|
const createBuild = (options) => (options.client ?? client_gen_js_1.client).post({
|
|
1201
1204
|
security: [{ scheme: 'bearer', type: 'http' }],
|
|
@@ -1207,6 +1210,24 @@ const createBuild = (options) => (options.client ?? client_gen_js_1.client).post
|
|
|
1207
1210
|
}
|
|
1208
1211
|
});
|
|
1209
1212
|
exports.createBuild = createBuild;
|
|
1213
|
+
/**
|
|
1214
|
+
* Upload source and build.
|
|
1215
|
+
*
|
|
1216
|
+
* Builds from an uploaded source tree instead of a URL, so the source never
|
|
1217
|
+
* has to be reachable from the internet. The request body IS the gzipped
|
|
1218
|
+
* tarball (`Content-Type: application/gzip`); metadata goes in the query
|
|
1219
|
+
* string. Multipart is not accepted.
|
|
1220
|
+
*/
|
|
1221
|
+
const uploadBuild = (options) => (options.client ?? client_gen_js_1.client).post({
|
|
1222
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1223
|
+
url: '/v1/build/upload',
|
|
1224
|
+
...options,
|
|
1225
|
+
headers: {
|
|
1226
|
+
'Content-Type': 'application/gzip',
|
|
1227
|
+
...options.headers
|
|
1228
|
+
}
|
|
1229
|
+
});
|
|
1230
|
+
exports.uploadBuild = uploadBuild;
|
|
1210
1231
|
/**
|
|
1211
1232
|
* Get a build.
|
|
1212
1233
|
*
|
|
@@ -1838,6 +1859,230 @@ const verifyDomain = (options) => (options.client ?? client_gen_js_1.client).pos
|
|
|
1838
1859
|
...options
|
|
1839
1860
|
});
|
|
1840
1861
|
exports.verifyDomain = verifyDomain;
|
|
1862
|
+
/**
|
|
1863
|
+
* Get campaign analytics.
|
|
1864
|
+
*
|
|
1865
|
+
* Returns engagement metrics for a single template. Requires the `email:read`
|
|
1866
|
+
* scope.
|
|
1867
|
+
*/
|
|
1868
|
+
const getEmailCampaignAnalytics = (options) => (options.client ?? client_gen_js_1.client).get({
|
|
1869
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1870
|
+
url: '/v1/email/analytics/campaign/{template_name}',
|
|
1871
|
+
...options
|
|
1872
|
+
});
|
|
1873
|
+
exports.getEmailCampaignAnalytics = getEmailCampaignAnalytics;
|
|
1874
|
+
/**
|
|
1875
|
+
* Get analytics summary.
|
|
1876
|
+
*
|
|
1877
|
+
* Returns aggregate open, click, bounce, and complaint rates for the org.
|
|
1878
|
+
* Requires the `email:read` scope.
|
|
1879
|
+
*/
|
|
1880
|
+
const getEmailAnalyticsSummary = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
1881
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1882
|
+
url: '/v1/email/analytics/summary',
|
|
1883
|
+
...options
|
|
1884
|
+
});
|
|
1885
|
+
exports.getEmailAnalyticsSummary = getEmailAnalyticsSummary;
|
|
1886
|
+
/**
|
|
1887
|
+
* List sending domains.
|
|
1888
|
+
*
|
|
1889
|
+
* Returns the org's bring-your-own sending domains and their verification
|
|
1890
|
+
* state. Requires the `email:read` scope.
|
|
1891
|
+
*/
|
|
1892
|
+
const listEmailDomains = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
1893
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1894
|
+
url: '/v1/email/domains',
|
|
1895
|
+
...options
|
|
1896
|
+
});
|
|
1897
|
+
exports.listEmailDomains = listEmailDomains;
|
|
1898
|
+
/**
|
|
1899
|
+
* Add a sending domain.
|
|
1900
|
+
*
|
|
1901
|
+
* Registers a domain and returns the DNS records required to verify it.
|
|
1902
|
+
* Requires the `email:send` scope.
|
|
1903
|
+
*/
|
|
1904
|
+
const addEmailDomain = (options) => (options.client ?? client_gen_js_1.client).post({
|
|
1905
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1906
|
+
url: '/v1/email/domains',
|
|
1907
|
+
...options,
|
|
1908
|
+
headers: {
|
|
1909
|
+
'Content-Type': 'application/json',
|
|
1910
|
+
...options.headers
|
|
1911
|
+
}
|
|
1912
|
+
});
|
|
1913
|
+
exports.addEmailDomain = addEmailDomain;
|
|
1914
|
+
/**
|
|
1915
|
+
* Delete a sending domain.
|
|
1916
|
+
*
|
|
1917
|
+
* Removes a sending domain from the org. Requires the `email:send` scope.
|
|
1918
|
+
*/
|
|
1919
|
+
const deleteEmailDomain = (options) => (options.client ?? client_gen_js_1.client).delete({
|
|
1920
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1921
|
+
url: '/v1/email/domains/{id}',
|
|
1922
|
+
...options
|
|
1923
|
+
});
|
|
1924
|
+
exports.deleteEmailDomain = deleteEmailDomain;
|
|
1925
|
+
/**
|
|
1926
|
+
* Verify a sending domain.
|
|
1927
|
+
*
|
|
1928
|
+
* Re-checks the domain's DNS records and updates its verification state.
|
|
1929
|
+
* Verifying a domain proves ownership; it does not by itself enable delivery.
|
|
1930
|
+
* Requires the `email:send` scope.
|
|
1931
|
+
*/
|
|
1932
|
+
const verifyEmailDomain = (options) => (options.client ?? client_gen_js_1.client).post({
|
|
1933
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1934
|
+
url: '/v1/email/domains/{id}/verify',
|
|
1935
|
+
...options
|
|
1936
|
+
});
|
|
1937
|
+
exports.verifyEmailDomain = verifyEmailDomain;
|
|
1938
|
+
/**
|
|
1939
|
+
* List delivery events.
|
|
1940
|
+
*
|
|
1941
|
+
* Returns recent per-message delivery events (delivered, bounced, opened,
|
|
1942
|
+
* clicked). Requires the `email:read` scope.
|
|
1943
|
+
*/
|
|
1944
|
+
const listEmailEvents = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
1945
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1946
|
+
url: '/v1/email/events',
|
|
1947
|
+
...options
|
|
1948
|
+
});
|
|
1949
|
+
exports.listEmailEvents = listEmailEvents;
|
|
1950
|
+
/**
|
|
1951
|
+
* Send a raw email.
|
|
1952
|
+
*
|
|
1953
|
+
* Sends an HTML email without a stored template. Requires the `email:send`
|
|
1954
|
+
* scope.
|
|
1955
|
+
*/
|
|
1956
|
+
const sendRawEmail = (options) => (options.client ?? client_gen_js_1.client).post({
|
|
1957
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1958
|
+
url: '/v1/email/send/raw',
|
|
1959
|
+
...options,
|
|
1960
|
+
headers: {
|
|
1961
|
+
'Content-Type': 'application/json',
|
|
1962
|
+
...options.headers
|
|
1963
|
+
}
|
|
1964
|
+
});
|
|
1965
|
+
exports.sendRawEmail = sendRawEmail;
|
|
1966
|
+
/**
|
|
1967
|
+
* Send a templated email.
|
|
1968
|
+
*
|
|
1969
|
+
* Renders `template` with `data` and sends it to `to`. Requires the
|
|
1970
|
+
* `email:send` scope.
|
|
1971
|
+
*/
|
|
1972
|
+
const sendTransactionalEmail = (options) => (options.client ?? client_gen_js_1.client).post({
|
|
1973
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1974
|
+
url: '/v1/email/send/tx',
|
|
1975
|
+
...options,
|
|
1976
|
+
headers: {
|
|
1977
|
+
'Content-Type': 'application/json',
|
|
1978
|
+
...options.headers
|
|
1979
|
+
}
|
|
1980
|
+
});
|
|
1981
|
+
exports.sendTransactionalEmail = sendTransactionalEmail;
|
|
1982
|
+
/**
|
|
1983
|
+
* Get email settings.
|
|
1984
|
+
*
|
|
1985
|
+
* Returns the org's sender identity and delivery configuration, including
|
|
1986
|
+
* whether bring-your-own delivery is enabled. Requires the `email:read` scope.
|
|
1987
|
+
*/
|
|
1988
|
+
const getEmailSettings = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
1989
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1990
|
+
url: '/v1/email/settings',
|
|
1991
|
+
...options
|
|
1992
|
+
});
|
|
1993
|
+
exports.getEmailSettings = getEmailSettings;
|
|
1994
|
+
/**
|
|
1995
|
+
* Update email settings.
|
|
1996
|
+
*
|
|
1997
|
+
* Updates the org's sender identity and delivery configuration. Requires the
|
|
1998
|
+
* `email:send` scope.
|
|
1999
|
+
*/
|
|
2000
|
+
const updateEmailSettings = (options) => (options.client ?? client_gen_js_1.client).put({
|
|
2001
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2002
|
+
url: '/v1/email/settings',
|
|
2003
|
+
...options,
|
|
2004
|
+
headers: {
|
|
2005
|
+
'Content-Type': 'application/json',
|
|
2006
|
+
...options.headers
|
|
2007
|
+
}
|
|
2008
|
+
});
|
|
2009
|
+
exports.updateEmailSettings = updateEmailSettings;
|
|
2010
|
+
/**
|
|
2011
|
+
* Get email stats.
|
|
2012
|
+
*
|
|
2013
|
+
* Returns send counts and delivery health for the org. Requires the
|
|
2014
|
+
* `email:read` scope.
|
|
2015
|
+
*/
|
|
2016
|
+
const getEmailStats = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
2017
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2018
|
+
url: '/v1/email/stats',
|
|
2019
|
+
...options
|
|
2020
|
+
});
|
|
2021
|
+
exports.getEmailStats = getEmailStats;
|
|
2022
|
+
/**
|
|
2023
|
+
* List suppressed addresses.
|
|
2024
|
+
*
|
|
2025
|
+
* Returns addresses excluded from sending after a hard bounce or complaint.
|
|
2026
|
+
* Requires the `email:read` scope.
|
|
2027
|
+
*/
|
|
2028
|
+
const listEmailSuppression = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
2029
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2030
|
+
url: '/v1/email/suppression',
|
|
2031
|
+
...options
|
|
2032
|
+
});
|
|
2033
|
+
exports.listEmailSuppression = listEmailSuppression;
|
|
2034
|
+
/**
|
|
2035
|
+
* List email templates.
|
|
2036
|
+
*
|
|
2037
|
+
* Returns the org's stored templates. Requires the `email:read` scope.
|
|
2038
|
+
*/
|
|
2039
|
+
const listEmailTemplates = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
2040
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2041
|
+
url: '/v1/email/templates',
|
|
2042
|
+
...options
|
|
2043
|
+
});
|
|
2044
|
+
exports.listEmailTemplates = listEmailTemplates;
|
|
2045
|
+
/**
|
|
2046
|
+
* Create an email template.
|
|
2047
|
+
*
|
|
2048
|
+
* Stores a new template for the org. Requires the `email:write` scope.
|
|
2049
|
+
*/
|
|
2050
|
+
const createEmailTemplate = (options) => (options.client ?? client_gen_js_1.client).post({
|
|
2051
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2052
|
+
url: '/v1/email/templates',
|
|
2053
|
+
...options,
|
|
2054
|
+
headers: {
|
|
2055
|
+
'Content-Type': 'application/json',
|
|
2056
|
+
...options.headers
|
|
2057
|
+
}
|
|
2058
|
+
});
|
|
2059
|
+
exports.createEmailTemplate = createEmailTemplate;
|
|
2060
|
+
/**
|
|
2061
|
+
* Delete an email template.
|
|
2062
|
+
*
|
|
2063
|
+
* Removes a stored template. Requires the `email:write` scope.
|
|
2064
|
+
*/
|
|
2065
|
+
const deleteEmailTemplate = (options) => (options.client ?? client_gen_js_1.client).delete({
|
|
2066
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2067
|
+
url: '/v1/email/templates/{id}',
|
|
2068
|
+
...options
|
|
2069
|
+
});
|
|
2070
|
+
exports.deleteEmailTemplate = deleteEmailTemplate;
|
|
2071
|
+
/**
|
|
2072
|
+
* Update an email template.
|
|
2073
|
+
*
|
|
2074
|
+
* Replaces a stored template. Requires the `email:write` scope.
|
|
2075
|
+
*/
|
|
2076
|
+
const updateEmailTemplate = (options) => (options.client ?? client_gen_js_1.client).put({
|
|
2077
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2078
|
+
url: '/v1/email/templates/{id}',
|
|
2079
|
+
...options,
|
|
2080
|
+
headers: {
|
|
2081
|
+
'Content-Type': 'application/json',
|
|
2082
|
+
...options.headers
|
|
2083
|
+
}
|
|
2084
|
+
});
|
|
2085
|
+
exports.updateEmailTemplate = updateEmailTemplate;
|
|
1841
2086
|
/**
|
|
1842
2087
|
* List environment variables.
|
|
1843
2088
|
*
|
|
@@ -2917,8 +3162,12 @@ exports.listShieldEvents = listShieldEvents;
|
|
|
2917
3162
|
/**
|
|
2918
3163
|
* Generate robots.txt.
|
|
2919
3164
|
*
|
|
2920
|
-
* Returns a `robots.txt`
|
|
2921
|
-
*
|
|
3165
|
+
* Returns a `robots.txt` generated from the project's Shield crawler policies.
|
|
3166
|
+
*
|
|
3167
|
+
* This is what Shield serves for apps that have NO robots.txt of their own.
|
|
3168
|
+
* An app that ships one has it served verbatim with these crawler rules
|
|
3169
|
+
* appended instead, so this is not necessarily the file a crawler receives.
|
|
3170
|
+
* You do not need to copy this into your project.
|
|
2922
3171
|
*/
|
|
2923
3172
|
const getShieldRobotsTxt = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
2924
3173
|
security: [{ scheme: 'bearer', type: 'http' }],
|