@caido/sdk-frontend 0.58.4-beta.1 → 0.58.4-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caido/sdk-frontend",
3
- "version": "0.58.4-beta.1",
3
+ "version": "0.58.4-beta.2",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "repository": "https://github.com/caido/sdk-js/",
@@ -20134,6 +20134,53 @@ export type CountFullFragment = {
20134
20134
  value: number;
20135
20135
  snapshot: number;
20136
20136
  };
20137
+ export type PassthroughOptionsMetaFragment = {
20138
+ passthroughOptions?: {
20139
+ allowlist?: Array<string> | undefined | null;
20140
+ denylist?: Array<string> | undefined | null;
20141
+ outOfScope: boolean;
20142
+ } | undefined | null;
20143
+ };
20144
+ export type PassthroughOptionsQueryVariables = Exact<{
20145
+ [key: string]: never;
20146
+ }>;
20147
+ export type PassthroughOptionsQuery = {
20148
+ passthroughOptions: {
20149
+ passthroughOptions?: {
20150
+ allowlist?: Array<string> | undefined | null;
20151
+ denylist?: Array<string> | undefined | null;
20152
+ outOfScope: boolean;
20153
+ } | undefined | null;
20154
+ };
20155
+ };
20156
+ export type SetPassthroughOptionsMutationVariables = Exact<{
20157
+ input: PassthroughOptionsInput;
20158
+ }>;
20159
+ export type SetPassthroughOptionsMutation = {
20160
+ setPassthroughOptions: {
20161
+ options: {
20162
+ passthroughOptions?: {
20163
+ allowlist?: Array<string> | undefined | null;
20164
+ denylist?: Array<string> | undefined | null;
20165
+ outOfScope: boolean;
20166
+ } | undefined | null;
20167
+ };
20168
+ };
20169
+ };
20170
+ export type UpdatedPassthroughOptionsSubscriptionVariables = Exact<{
20171
+ [key: string]: never;
20172
+ }>;
20173
+ export type UpdatedPassthroughOptionsSubscription = {
20174
+ updatedPassthroughOptions: {
20175
+ options: {
20176
+ passthroughOptions?: {
20177
+ allowlist?: Array<string> | undefined | null;
20178
+ denylist?: Array<string> | undefined | null;
20179
+ outOfScope: boolean;
20180
+ } | undefined | null;
20181
+ };
20182
+ };
20183
+ };
20137
20184
  type PluginMeta_PluginBackend_Fragment = {
20138
20185
  __typename: "PluginBackend";
20139
20186
  id: string;
@@ -126273,6 +126320,7 @@ export declare const TamperSectionFullFragmentDoc = "\n fragment tamperSectio
126273
126320
  export declare const TamperRuleFullFragmentDoc = "\n fragment tamperRuleFull on TamperRule {\n __typename\n id\n name\n section {\n ...tamperSectionFull\n }\n enable {\n rank\n }\n condition {\n ... on HTTPQL {\n ...HTTPQLQueryFull\n }\n ... on StreamQL {\n ...StreamQLQueryFull\n }\n }\n collection {\n id\n }\n sources\n}\n ";
126274
126321
  export declare const TamperRuleCollectionFullFragmentDoc = "\n fragment tamperRuleCollectionFull on TamperRuleCollection {\n __typename\n id\n name\n rules {\n ...tamperRuleFull\n }\n}\n ";
126275
126322
  export declare const CountFullFragmentDoc = "\n fragment countFull on Count {\n __typename\n value\n snapshot\n}\n ";
126323
+ export declare const PassthroughOptionsMetaFragmentDoc = "\n fragment passthroughOptionsMeta on PassthroughOptions {\n passthroughOptions {\n allowlist\n denylist\n outOfScope\n }\n}\n ";
126276
126324
  export declare const PluginAuthorFullFragmentDoc = "\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n ";
126277
126325
  export declare const PluginLinksFullFragmentDoc = "\n fragment pluginLinksFull on PluginLinks {\n sponsor\n}\n ";
126278
126326
  export declare const PluginPackageMetaFragmentDoc = "\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n links {\n ...pluginLinksFull\n }\n version\n installedAt\n manifestId\n origin\n}\n ";
@@ -126538,6 +126586,9 @@ export declare const UpdatedTamperRuleDocument = "\n subscription updatedTamp
126538
126586
  export declare const DeletedTamperRuleDocument = "\n subscription deletedTamperRule {\n deletedTamperRule {\n deletedRuleId\n snapshot\n }\n}\n ";
126539
126587
  export declare const UpdatedTamperRuleCollectionDocument = "\n subscription updatedTamperRuleCollection {\n updatedTamperRuleCollection {\n collectionEdge {\n cursor\n node {\n ...tamperRuleCollectionFull\n }\n }\n snapshot\n }\n}\n \n fragment tamperRuleCollectionFull on TamperRuleCollection {\n __typename\n id\n name\n rules {\n ...tamperRuleFull\n }\n}\n \n\n fragment tamperRuleFull on TamperRule {\n __typename\n id\n name\n section {\n ...tamperSectionFull\n }\n enable {\n rank\n }\n condition {\n ... on HTTPQL {\n ...HTTPQLQueryFull\n }\n ... on StreamQL {\n ...StreamQLQueryFull\n }\n }\n collection {\n id\n }\n sources\n}\n \n\n fragment tamperSectionFull on TamperSection {\n __typename\n ... on TamperSectionRequestAll {\n operation {\n ...tamperOperationAllFull\n }\n }\n ... on TamperSectionRequestPath {\n operation {\n ...tamperOperationPathFull\n }\n }\n ... on TamperSectionRequestMethod {\n operation {\n ...tamperOperationMethodFull\n }\n }\n ... on TamperSectionRequestQuery {\n operation {\n ...tamperOperationQueryFull\n }\n }\n ... on TamperSectionRequestFirstLine {\n operation {\n ...tamperOperationFirstLineFull\n }\n }\n ... on TamperSectionRequestHeader {\n operation {\n ...tamperOperationHeaderFull\n }\n }\n ... on TamperSectionRequestBody {\n operation {\n ...tamperOperationBodyFull\n }\n }\n ... on TamperSectionRequestSNI {\n operation {\n ...tamperOperationSNIFull\n }\n }\n ... on TamperSectionStreamWsMessageUpstream {\n operation {\n ...tamperOperationStreamWsMessageFull\n }\n }\n ... on TamperSectionResponseAll {\n operation {\n ...tamperOperationAllFull\n }\n }\n ... on TamperSectionResponseFirstLine {\n operation {\n ...tamperOperationFirstLineFull\n }\n }\n ... on TamperSectionResponseStatusCode {\n operation {\n ...tamperOperationStatusCodeFull\n }\n }\n ... on TamperSectionResponseHeader {\n operation {\n ...tamperOperationHeaderFull\n }\n }\n ... on TamperSectionResponseBody {\n operation {\n ...tamperOperationBodyFull\n }\n }\n ... on TamperSectionStreamWsMessageDownstream {\n operation {\n ...tamperOperationStreamWsMessageFull\n }\n }\n}\n \n\n fragment tamperOperationAllFull on TamperOperationAll {\n __typename\n ... on TamperOperationAllRaw {\n ...tamperOperationAllRawFull\n }\n}\n \n\n fragment tamperOperationAllRawFull on TamperOperationAllRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperMatcherRawFull on TamperMatcherRaw {\n __typename\n ... on TamperMatcherValue {\n ...tamperMatcherValueFull\n }\n ... on TamperMatcherRegex {\n ...tamperMatcherRegexFull\n }\n}\n \n\n fragment tamperMatcherValueFull on TamperMatcherValue {\n __typename\n value\n}\n \n\n fragment tamperMatcherRegexFull on TamperMatcherRegex {\n __typename\n regex\n}\n \n\n fragment tamperReplacerFull on TamperReplacer {\n __typename\n ... on TamperReplacerTerm {\n ...tamperReplacerTermFull\n }\n ... on TamperReplacerWorkflow {\n ...tamperReplacerWorkflowFull\n }\n}\n \n\n fragment tamperReplacerTermFull on TamperReplacerTerm {\n __typename\n term\n}\n \n\n fragment tamperReplacerWorkflowFull on TamperReplacerWorkflow {\n __typename\n id\n}\n \n\n fragment tamperOperationPathFull on TamperOperationPath {\n __typename\n ... on TamperOperationPathRaw {\n ...tamperOperationPathRawFull\n }\n}\n \n\n fragment tamperOperationPathRawFull on TamperOperationPathRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationMethodFull on TamperOperationMethod {\n __typename\n ... on TamperOperationMethodUpdate {\n ...tamperOperationMethodUpdateFull\n }\n}\n \n\n fragment tamperOperationMethodUpdateFull on TamperOperationMethodUpdate {\n __typename\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationQueryFull on TamperOperationQuery {\n __typename\n ... on TamperOperationQueryRaw {\n ...tamperOperationQueryRawFull\n }\n ... on TamperOperationQueryUpdate {\n ...tamperOperationQueryUpdateFull\n }\n ... on TamperOperationQueryAdd {\n ...tamperOperationQueryAddFull\n }\n ... on TamperOperationQueryRemove {\n ...tamperOperationQueryRemoveFull\n }\n}\n \n\n fragment tamperOperationQueryRawFull on TamperOperationQueryRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationQueryUpdateFull on TamperOperationQueryUpdate {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperMatcherNameFull on TamperMatcherName {\n __typename\n name\n}\n \n\n fragment tamperOperationQueryAddFull on TamperOperationQueryAdd {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationQueryRemoveFull on TamperOperationQueryRemove {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n}\n \n\n fragment tamperOperationFirstLineFull on TamperOperationFirstLine {\n __typename\n ... on TamperOperationFirstLineRaw {\n ...tamperOperationFirstLineRawFull\n }\n}\n \n\n fragment tamperOperationFirstLineRawFull on TamperOperationFirstLineRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationHeaderFull on TamperOperationHeader {\n __typename\n ... on TamperOperationHeaderRaw {\n ...tamperOperationHeaderRawFull\n }\n ... on TamperOperationHeaderUpdate {\n ...tamperOperationHeaderUpdateFull\n }\n ... on TamperOperationHeaderAdd {\n ...tamperOperationHeaderAddFull\n }\n ... on TamperOperationHeaderRemove {\n ...tamperOperationHeaderRemoveFull\n }\n}\n \n\n fragment tamperOperationHeaderRawFull on TamperOperationHeaderRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationHeaderUpdateFull on TamperOperationHeaderUpdate {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationHeaderAddFull on TamperOperationHeaderAdd {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationHeaderRemoveFull on TamperOperationHeaderRemove {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n}\n \n\n fragment tamperOperationBodyFull on TamperOperationBody {\n __typename\n ... on TamperOperationBodyRaw {\n ...tamperOperationBodyRawFull\n }\n}\n \n\n fragment tamperOperationBodyRawFull on TamperOperationBodyRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationSNIFull on TamperOperationSNI {\n __typename\n ... on TamperOperationSNIRaw {\n ...tamperOperationSNIRawFull\n }\n}\n \n\n fragment tamperOperationSNIRawFull on TamperOperationSNIRaw {\n __typename\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationStreamWsMessageFull on TamperOperationStreamWsMessage {\n __typename\n ... on TamperOperationStreamWsMessageRaw {\n ...tamperOperationStreamWsMessageRawFull\n }\n}\n \n\n fragment tamperOperationStreamWsMessageRawFull on TamperOperationStreamWsMessageRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationStatusCodeFull on TamperOperationStatusCode {\n __typename\n ... on TamperOperationStatusCodeUpdate {\n ...tamperOperationStatusCodeUpdateFull\n }\n}\n \n\n fragment tamperOperationStatusCodeUpdateFull on TamperOperationStatusCodeUpdate {\n __typename\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment HTTPQLQueryFull on HTTPQL {\n __typename\n code\n}\n \n\n fragment StreamQLQueryFull on StreamQL {\n __typename\n code\n}\n ";
126540
126588
  export declare const DeletedTamperRuleCollectionDocument = "\n subscription deletedTamperRuleCollection {\n deletedTamperRuleCollection {\n deletedCollectionId\n snapshot\n }\n}\n ";
126589
+ export declare const PassthroughOptionsDocument = "\n query passthroughOptions {\n passthroughOptions {\n ...passthroughOptionsMeta\n }\n}\n \n fragment passthroughOptionsMeta on PassthroughOptions {\n passthroughOptions {\n allowlist\n denylist\n outOfScope\n }\n}\n ";
126590
+ export declare const SetPassthroughOptionsDocument = "\n mutation setPassthroughOptions($input: PassthroughOptionsInput!) {\n setPassthroughOptions(input: $input) {\n options {\n ...passthroughOptionsMeta\n }\n }\n}\n \n fragment passthroughOptionsMeta on PassthroughOptions {\n passthroughOptions {\n allowlist\n denylist\n outOfScope\n }\n}\n ";
126591
+ export declare const UpdatedPassthroughOptionsDocument = "\n subscription updatedPassthroughOptions {\n updatedPassthroughOptions {\n options {\n ...passthroughOptionsMeta\n }\n }\n}\n \n fragment passthroughOptionsMeta on PassthroughOptions {\n passthroughOptions {\n allowlist\n denylist\n outOfScope\n }\n}\n ";
126541
126592
  export declare const PluginPackagesDocument = "\n query pluginPackages {\n pluginPackages {\n ...pluginPackageFull\n }\n}\n \n fragment pluginPackageFull on PluginPackage {\n ...pluginPackageMeta\n plugins {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n}\n \n\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n links {\n ...pluginLinksFull\n }\n version\n installedAt\n manifestId\n origin\n}\n \n\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n \n\n fragment pluginLinksFull on PluginLinks {\n sponsor\n}\n \n\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
126542
126593
  export declare const StorePluginPackagesDocument = "\n query storePluginPackages {\n store {\n pluginPackages {\n ...storePluginPackageFull\n }\n }\n}\n \n fragment storePluginPackageFull on StorePluginPackage {\n author {\n email\n name\n url\n }\n description\n downloads\n license\n manifestId\n name\n repository\n version\n official\n quality\n readmeUrl\n changelogUrl\n}\n ";
126543
126594
  export declare const InstallPluginPackagesDocument = "\n mutation installPluginPackages($input: InstallPluginPackagesInput!) {\n installPluginPackages(input: $input) {\n packages {\n ...pluginPackageFull\n }\n errors {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on PluginUserError {\n ...pluginUserErrorFull\n }\n ... on StoreUserError {\n ...storeUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n }\n }\n}\n \n fragment pluginPackageFull on PluginPackage {\n ...pluginPackageMeta\n plugins {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n}\n \n\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n links {\n ...pluginLinksFull\n }\n version\n installedAt\n manifestId\n origin\n}\n \n\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n \n\n fragment pluginLinksFull on PluginLinks {\n sponsor\n}\n \n\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment pluginUserErrorFull on PluginUserError {\n ...userErrorFull\n reason\n}\n \n\n fragment storeUserErrorFull on StoreUserError {\n ...userErrorFull\n storeReason: reason\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n ";
@@ -126904,6 +126955,9 @@ export declare function getSdk<C>(requester: Requester<C>): {
126904
126955
  deletedTamperRule(variables?: DeletedTamperRuleSubscriptionVariables, options?: C): AsyncIterable<DeletedTamperRuleSubscription>;
126905
126956
  updatedTamperRuleCollection(variables?: UpdatedTamperRuleCollectionSubscriptionVariables, options?: C): AsyncIterable<UpdatedTamperRuleCollectionSubscription>;
126906
126957
  deletedTamperRuleCollection(variables?: DeletedTamperRuleCollectionSubscriptionVariables, options?: C): AsyncIterable<DeletedTamperRuleCollectionSubscription>;
126958
+ passthroughOptions(variables?: PassthroughOptionsQueryVariables, options?: C): Promise<PassthroughOptionsQuery>;
126959
+ setPassthroughOptions(variables: SetPassthroughOptionsMutationVariables, options?: C): Promise<SetPassthroughOptionsMutation>;
126960
+ updatedPassthroughOptions(variables?: UpdatedPassthroughOptionsSubscriptionVariables, options?: C): AsyncIterable<UpdatedPassthroughOptionsSubscription>;
126907
126961
  pluginPackages(variables?: PluginPackagesQueryVariables, options?: C): Promise<PluginPackagesQuery>;
126908
126962
  storePluginPackages(variables?: StorePluginPackagesQueryVariables, options?: C): Promise<StorePluginPackagesQuery>;
126909
126963
  installPluginPackages(variables: InstallPluginPackagesMutationVariables, options?: C): Promise<InstallPluginPackagesMutation>;