sfcc-dev-mcp 1.0.21 → 1.1.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.
- package/CHANGELOG.md +73 -4
- package/README.md +101 -31
- package/dist/ai-instructions/skills/sfcc-script-evaluation/SKILL.md +1 -0
- package/dist/clients/agent-instructions-client.d.ts +3 -0
- package/dist/clients/agent-instructions-client.d.ts.map +1 -1
- package/dist/clients/agent-instructions-client.js +42 -10
- package/dist/clients/agent-instructions-client.js.map +1 -1
- package/dist/clients/base/abstract-documentation-client.d.ts +4 -0
- package/dist/clients/base/abstract-documentation-client.d.ts.map +1 -1
- package/dist/clients/base/abstract-documentation-client.js +9 -1
- package/dist/clients/base/abstract-documentation-client.js.map +1 -1
- package/dist/clients/base/http-client.d.ts +10 -3
- package/dist/clients/base/http-client.d.ts.map +1 -1
- package/dist/clients/base/http-client.js +94 -16
- package/dist/clients/base/http-client.js.map +1 -1
- package/dist/clients/base/oauth-token.d.ts +3 -0
- package/dist/clients/base/oauth-token.d.ts.map +1 -1
- package/dist/clients/base/oauth-token.js +23 -3
- package/dist/clients/base/oauth-token.js.map +1 -1
- package/dist/clients/base/ocapi-auth-client.d.ts.map +1 -1
- package/dist/clients/base/ocapi-auth-client.js +22 -2
- package/dist/clients/base/ocapi-auth-client.js.map +1 -1
- package/dist/clients/docs/class-name-resolver.d.ts +7 -4
- package/dist/clients/docs/class-name-resolver.d.ts.map +1 -1
- package/dist/clients/docs/class-name-resolver.js.map +1 -1
- package/dist/clients/docs/documentation-scanner.d.ts +2 -0
- package/dist/clients/docs/documentation-scanner.d.ts.map +1 -1
- package/dist/clients/docs/documentation-scanner.js +39 -17
- package/dist/clients/docs/documentation-scanner.js.map +1 -1
- package/dist/clients/docs-client.d.ts +4 -3
- package/dist/clients/docs-client.d.ts.map +1 -1
- package/dist/clients/docs-client.js.map +1 -1
- package/dist/clients/logs/log-client.d.ts +1 -0
- package/dist/clients/logs/log-client.d.ts.map +1 -1
- package/dist/clients/logs/log-client.js +13 -21
- package/dist/clients/logs/log-client.js.map +1 -1
- package/dist/clients/logs/log-file-discovery.d.ts +1 -0
- package/dist/clients/logs/log-file-discovery.d.ts.map +1 -1
- package/dist/clients/logs/log-file-discovery.js +19 -6
- package/dist/clients/logs/log-file-discovery.js.map +1 -1
- package/dist/clients/logs/log-file-reader.d.ts +2 -0
- package/dist/clients/logs/log-file-reader.d.ts.map +1 -1
- package/dist/clients/logs/log-file-reader.js +31 -8
- package/dist/clients/logs/log-file-reader.js.map +1 -1
- package/dist/clients/logs/log-formatter.d.ts +2 -2
- package/dist/clients/logs/log-formatter.d.ts.map +1 -1
- package/dist/clients/logs/log-formatter.js.map +1 -1
- package/dist/clients/logs/log-types.d.ts +4 -0
- package/dist/clients/logs/log-types.d.ts.map +1 -1
- package/dist/clients/logs/webdav-client-manager.d.ts.map +1 -1
- package/dist/clients/logs/webdav-client-manager.js.map +1 -1
- package/dist/clients/ocapi/code-versions-client.d.ts +23 -4
- package/dist/clients/ocapi/code-versions-client.d.ts.map +1 -1
- package/dist/clients/ocapi/code-versions-client.js +2 -2
- package/dist/clients/ocapi/code-versions-client.js.map +1 -1
- package/dist/clients/ocapi/site-preferences-client.d.ts +2 -42
- package/dist/clients/ocapi/site-preferences-client.d.ts.map +1 -1
- package/dist/clients/ocapi/site-preferences-client.js.map +1 -1
- package/dist/clients/ocapi/system-objects-client.d.ts +7 -39
- package/dist/clients/ocapi/system-objects-client.d.ts.map +1 -1
- package/dist/clients/ocapi/system-objects-client.js.map +1 -1
- package/dist/clients/script-debugger/script-debugger-client.d.ts +30 -1
- package/dist/clients/script-debugger/script-debugger-client.d.ts.map +1 -1
- package/dist/clients/script-debugger/script-debugger-client.js +266 -132
- package/dist/clients/script-debugger/script-debugger-client.js.map +1 -1
- package/dist/clients/sfra-client.d.ts.map +1 -1
- package/dist/clients/sfra-client.js.map +1 -1
- package/dist/config/cli-options.d.ts +16 -0
- package/dist/config/cli-options.d.ts.map +1 -0
- package/dist/config/cli-options.js +56 -0
- package/dist/config/cli-options.js.map +1 -0
- package/dist/config/configuration-factory.d.ts +2 -0
- package/dist/config/configuration-factory.d.ts.map +1 -1
- package/dist/config/configuration-factory.js +30 -6
- package/dist/config/configuration-factory.js.map +1 -1
- package/dist/config/credential-validation.d.ts +25 -0
- package/dist/config/credential-validation.d.ts.map +1 -0
- package/dist/config/credential-validation.js +42 -0
- package/dist/config/credential-validation.js.map +1 -0
- package/dist/config/dw-json-loader.d.ts.map +1 -1
- package/dist/config/dw-json-loader.js +25 -68
- package/dist/config/dw-json-loader.js.map +1 -1
- package/dist/config/path-security-policy.d.ts +6 -0
- package/dist/config/path-security-policy.d.ts.map +1 -0
- package/dist/config/path-security-policy.js +63 -0
- package/dist/config/path-security-policy.js.map +1 -0
- package/dist/config/workspace-roots.d.ts +1 -0
- package/dist/config/workspace-roots.d.ts.map +1 -1
- package/dist/config/workspace-roots.js +26 -77
- package/dist/config/workspace-roots.js.map +1 -1
- package/dist/core/handlers/abstract-client-handler.d.ts +23 -2
- package/dist/core/handlers/abstract-client-handler.d.ts.map +1 -1
- package/dist/core/handlers/abstract-client-handler.js +33 -3
- package/dist/core/handlers/abstract-client-handler.js.map +1 -1
- package/dist/core/handlers/agent-instructions-handler.d.ts +1 -1
- package/dist/core/handlers/agent-instructions-handler.d.ts.map +1 -1
- package/dist/core/handlers/agent-instructions-handler.js +2 -2
- package/dist/core/handlers/agent-instructions-handler.js.map +1 -1
- package/dist/core/handlers/base-handler.d.ts +14 -11
- package/dist/core/handlers/base-handler.d.ts.map +1 -1
- package/dist/core/handlers/base-handler.js +38 -22
- package/dist/core/handlers/base-handler.js.map +1 -1
- package/dist/core/handlers/cartridge-handler.d.ts +3 -8
- package/dist/core/handlers/cartridge-handler.d.ts.map +1 -1
- package/dist/core/handlers/cartridge-handler.js +10 -18
- package/dist/core/handlers/cartridge-handler.js.map +1 -1
- package/dist/core/handlers/code-version-handler.d.ts +3 -9
- package/dist/core/handlers/code-version-handler.d.ts.map +1 -1
- package/dist/core/handlers/code-version-handler.js +10 -21
- package/dist/core/handlers/code-version-handler.js.map +1 -1
- package/dist/core/handlers/job-log-handler.d.ts +3 -9
- package/dist/core/handlers/job-log-handler.d.ts.map +1 -1
- package/dist/core/handlers/job-log-handler.js +10 -21
- package/dist/core/handlers/job-log-handler.js.map +1 -1
- package/dist/core/handlers/lifecycle-utils.d.ts +5 -0
- package/dist/core/handlers/lifecycle-utils.d.ts.map +1 -0
- package/dist/core/handlers/lifecycle-utils.js +18 -0
- package/dist/core/handlers/lifecycle-utils.js.map +1 -0
- package/dist/core/handlers/log-handler.d.ts +3 -9
- package/dist/core/handlers/log-handler.d.ts.map +1 -1
- package/dist/core/handlers/log-handler.js +10 -21
- package/dist/core/handlers/log-handler.js.map +1 -1
- package/dist/core/handlers/script-debugger-handler.d.ts +3 -9
- package/dist/core/handlers/script-debugger-handler.d.ts.map +1 -1
- package/dist/core/handlers/script-debugger-handler.js +10 -21
- package/dist/core/handlers/script-debugger-handler.js.map +1 -1
- package/dist/core/handlers/simple-client-handler.d.ts +3 -3
- package/dist/core/handlers/simple-client-handler.d.ts.map +1 -1
- package/dist/core/handlers/simple-client-handler.js +5 -3
- package/dist/core/handlers/simple-client-handler.js.map +1 -1
- package/dist/core/handlers/system-object-handler.d.ts +3 -9
- package/dist/core/handlers/system-object-handler.d.ts.map +1 -1
- package/dist/core/handlers/system-object-handler.js +10 -21
- package/dist/core/handlers/system-object-handler.js.map +1 -1
- package/dist/core/handlers/validation-helpers.d.ts +5 -26
- package/dist/core/handlers/validation-helpers.d.ts.map +1 -1
- package/dist/core/handlers/validation-helpers.js +79 -81
- package/dist/core/handlers/validation-helpers.js.map +1 -1
- package/dist/core/instruction-advisor.d.ts +3 -0
- package/dist/core/instruction-advisor.d.ts.map +1 -1
- package/dist/core/instruction-advisor.js +25 -2
- package/dist/core/instruction-advisor.js.map +1 -1
- package/dist/core/server-tool-call-lifecycle.d.ts +38 -0
- package/dist/core/server-tool-call-lifecycle.d.ts.map +1 -0
- package/dist/core/server-tool-call-lifecycle.js +128 -0
- package/dist/core/server-tool-call-lifecycle.js.map +1 -0
- package/dist/core/server-tool-catalog.d.ts +19 -0
- package/dist/core/server-tool-catalog.d.ts.map +1 -0
- package/dist/core/server-tool-catalog.js +52 -0
- package/dist/core/server-tool-catalog.js.map +1 -0
- package/dist/core/server-workspace-discovery.d.ts +38 -0
- package/dist/core/server-workspace-discovery.d.ts.map +1 -0
- package/dist/core/server-workspace-discovery.js +68 -0
- package/dist/core/server-workspace-discovery.js.map +1 -0
- package/dist/core/server.d.ts +27 -3
- package/dist/core/server.d.ts.map +1 -1
- package/dist/core/server.js +247 -165
- package/dist/core/server.js.map +1 -1
- package/dist/core/tool-argument-validator.d.ts +24 -0
- package/dist/core/tool-argument-validator.d.ts.map +1 -0
- package/dist/core/tool-argument-validator.js +186 -0
- package/dist/core/tool-argument-validator.js.map +1 -0
- package/dist/core/tool-error-response.d.ts +21 -0
- package/dist/core/tool-error-response.d.ts.map +1 -0
- package/dist/core/tool-error-response.js +64 -0
- package/dist/core/tool-error-response.js.map +1 -0
- package/dist/core/tool-schemas/agent-instruction-tools.d.ts +4 -0
- package/dist/core/tool-schemas/agent-instruction-tools.d.ts.map +1 -1
- package/dist/core/tool-schemas/agent-instruction-tools.js +6 -2
- package/dist/core/tool-schemas/agent-instruction-tools.js.map +1 -1
- package/dist/core/tool-schemas/cartridge-tools.d.ts +3 -0
- package/dist/core/tool-schemas/cartridge-tools.d.ts.map +1 -1
- package/dist/core/tool-schemas/cartridge-tools.js +3 -0
- package/dist/core/tool-schemas/cartridge-tools.js.map +1 -1
- package/dist/core/tool-schemas/code-version-tools.d.ts +1 -0
- package/dist/core/tool-schemas/code-version-tools.d.ts.map +1 -1
- package/dist/core/tool-schemas/code-version-tools.js +1 -0
- package/dist/core/tool-schemas/code-version-tools.js.map +1 -1
- package/dist/core/tool-schemas/documentation-tools.d.ts +6 -0
- package/dist/core/tool-schemas/documentation-tools.d.ts.map +1 -1
- package/dist/core/tool-schemas/documentation-tools.js +6 -0
- package/dist/core/tool-schemas/documentation-tools.js.map +1 -1
- package/dist/core/tool-schemas/isml-tools.d.ts +3 -0
- package/dist/core/tool-schemas/isml-tools.d.ts.map +1 -1
- package/dist/core/tool-schemas/isml-tools.js +4 -1
- package/dist/core/tool-schemas/isml-tools.js.map +1 -1
- package/dist/core/tool-schemas/log-tools.d.ts +28 -0
- package/dist/core/tool-schemas/log-tools.d.ts.map +1 -1
- package/dist/core/tool-schemas/log-tools.js +21 -7
- package/dist/core/tool-schemas/log-tools.js.map +1 -1
- package/dist/core/tool-schemas/script-debugger-tools.d.ts +12 -0
- package/dist/core/tool-schemas/script-debugger-tools.d.ts.map +1 -1
- package/dist/core/tool-schemas/script-debugger-tools.js +19 -2
- package/dist/core/tool-schemas/script-debugger-tools.js.map +1 -1
- package/dist/core/tool-schemas/sfra-tools.d.ts +3 -0
- package/dist/core/tool-schemas/sfra-tools.d.ts.map +1 -1
- package/dist/core/tool-schemas/sfra-tools.js +3 -0
- package/dist/core/tool-schemas/sfra-tools.js.map +1 -1
- package/dist/core/tool-schemas/shared-schemas.d.ts +72 -4
- package/dist/core/tool-schemas/shared-schemas.d.ts.map +1 -1
- package/dist/core/tool-schemas/shared-schemas.js +29 -3
- package/dist/core/tool-schemas/shared-schemas.js.map +1 -1
- package/dist/core/tool-schemas/system-object-tools.d.ts +93 -4
- package/dist/core/tool-schemas/system-object-tools.d.ts.map +1 -1
- package/dist/core/tool-schemas/system-object-tools.js +13 -6
- package/dist/core/tool-schemas/system-object-tools.js.map +1 -1
- package/dist/docs/dw_extensions.payments/SalesforcePaymentsMgr.md +52 -0
- package/dist/docs/dw_system/Request.md +4 -0
- package/dist/docs/dw_web/Cookie.md +54 -15
- package/dist/docs/isml/isprint.md +1 -1
- package/dist/docs/isml/isredirect.md +1 -1
- package/dist/docs/isml/isremove.md +1 -1
- package/dist/docs/isml/isreplace.md +1 -1
- package/dist/docs/isml/isscript.md +1 -1
- package/dist/main.js +18 -33
- package/dist/main.js.map +1 -1
- package/dist/tool-configs/agent-instructions-tool-config.d.ts +1 -1
- package/dist/tool-configs/agent-instructions-tool-config.d.ts.map +1 -1
- package/dist/tool-configs/agent-instructions-tool-config.js +0 -33
- package/dist/tool-configs/agent-instructions-tool-config.js.map +1 -1
- package/dist/tool-configs/cartridge-tool-config.d.ts +1 -1
- package/dist/tool-configs/cartridge-tool-config.d.ts.map +1 -1
- package/dist/tool-configs/cartridge-tool-config.js +3 -5
- package/dist/tool-configs/cartridge-tool-config.js.map +1 -1
- package/dist/tool-configs/code-version-tool-config.d.ts +1 -1
- package/dist/tool-configs/code-version-tool-config.d.ts.map +1 -1
- package/dist/tool-configs/code-version-tool-config.js +0 -4
- package/dist/tool-configs/code-version-tool-config.js.map +1 -1
- package/dist/tool-configs/docs-tool-config.d.ts +1 -1
- package/dist/tool-configs/docs-tool-config.d.ts.map +1 -1
- package/dist/tool-configs/docs-tool-config.js +0 -13
- package/dist/tool-configs/docs-tool-config.js.map +1 -1
- package/dist/tool-configs/isml-tool-config.d.ts +1 -1
- package/dist/tool-configs/isml-tool-config.d.ts.map +1 -1
- package/dist/tool-configs/isml-tool-config.js +0 -10
- package/dist/tool-configs/isml-tool-config.js.map +1 -1
- package/dist/tool-configs/job-log-tool-config.d.ts +1 -1
- package/dist/tool-configs/job-log-tool-config.d.ts.map +1 -1
- package/dist/tool-configs/job-log-tool-config.js +1 -21
- package/dist/tool-configs/job-log-tool-config.js.map +1 -1
- package/dist/tool-configs/log-tool-config.d.ts +1 -1
- package/dist/tool-configs/log-tool-config.d.ts.map +1 -1
- package/dist/tool-configs/log-tool-config.js +6 -16
- package/dist/tool-configs/log-tool-config.js.map +1 -1
- package/dist/tool-configs/script-debugger-tool-config.d.ts +1 -1
- package/dist/tool-configs/script-debugger-tool-config.d.ts.map +1 -1
- package/dist/tool-configs/script-debugger-tool-config.js +1 -8
- package/dist/tool-configs/script-debugger-tool-config.js.map +1 -1
- package/dist/tool-configs/sfra-tool-config.d.ts +1 -1
- package/dist/tool-configs/sfra-tool-config.d.ts.map +1 -1
- package/dist/tool-configs/sfra-tool-config.js +0 -10
- package/dist/tool-configs/sfra-tool-config.js.map +1 -1
- package/dist/tool-configs/system-object-tool-config.d.ts +1 -1
- package/dist/tool-configs/system-object-tool-config.d.ts.map +1 -1
- package/dist/tool-configs/system-object-tool-config.js +14 -24
- package/dist/tool-configs/system-object-tool-config.js.map +1 -1
- package/dist/types/ocapi-search.d.ts +50 -0
- package/dist/types/ocapi-search.d.ts.map +1 -0
- package/dist/types/ocapi-search.js +7 -0
- package/dist/types/ocapi-search.js.map +1 -0
- package/dist/types/types.d.ts +13 -5
- package/dist/types/types.d.ts.map +1 -1
- package/dist/utils/abort-utils.d.ts +18 -0
- package/dist/utils/abort-utils.d.ts.map +1 -0
- package/dist/utils/abort-utils.js +66 -0
- package/dist/utils/abort-utils.js.map +1 -0
- package/dist/utils/cache.d.ts +7 -7
- package/dist/utils/cache.d.ts.map +1 -1
- package/dist/utils/cache.js +1 -0
- package/dist/utils/cache.js.map +1 -1
- package/dist/utils/category-utils.d.ts +0 -10
- package/dist/utils/category-utils.d.ts.map +1 -1
- package/dist/utils/category-utils.js +0 -12
- package/dist/utils/category-utils.js.map +1 -1
- package/dist/utils/log-tool-constants.d.ts +3 -4
- package/dist/utils/log-tool-constants.d.ts.map +1 -1
- package/dist/utils/log-tool-constants.js +2 -13
- package/dist/utils/log-tool-constants.js.map +1 -1
- package/dist/utils/logger.d.ts +20 -7
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +72 -11
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/query-builder.d.ts +2 -5
- package/dist/utils/query-builder.d.ts.map +1 -1
- package/dist/utils/query-builder.js +1 -4
- package/dist/utils/query-builder.js.map +1 -1
- package/dist/utils/validator.d.ts +5 -3
- package/dist/utils/validator.d.ts.map +1 -1
- package/dist/utils/validator.js +20 -14
- package/dist/utils/validator.js.map +1 -1
- package/package.json +23 -11
- package/dist/clients/docs/index.d.ts +0 -10
- package/dist/clients/docs/index.d.ts.map +0 -1
- package/dist/clients/docs/index.js +0 -10
- package/dist/clients/docs/index.js.map +0 -1
- package/dist/constants/index.d.ts +0 -1
- package/dist/constants/index.d.ts.map +0 -1
- package/dist/constants/index.js +0 -3
- package/dist/constants/index.js.map +0 -1
- package/dist/utils/path-validation.d.ts +0 -40
- package/dist/utils/path-validation.d.ts.map +0 -1
- package/dist/utils/path-validation.js +0 -84
- package/dist/utils/path-validation.js.map +0 -1
|
@@ -22,6 +22,7 @@ export const QUERY_SCHEMA = {
|
|
|
22
22
|
},
|
|
23
23
|
search_phrase: {
|
|
24
24
|
type: 'string',
|
|
25
|
+
minLength: 1,
|
|
25
26
|
description: 'Text to search for',
|
|
26
27
|
},
|
|
27
28
|
},
|
|
@@ -38,6 +39,7 @@ export const QUERY_SCHEMA = {
|
|
|
38
39
|
},
|
|
39
40
|
operator: {
|
|
40
41
|
type: 'string',
|
|
42
|
+
minLength: 1,
|
|
41
43
|
description: 'Query operator (e.g., "is", "one_of")',
|
|
42
44
|
},
|
|
43
45
|
values: {
|
|
@@ -69,6 +71,23 @@ export const QUERY_SCHEMA = {
|
|
|
69
71
|
},
|
|
70
72
|
},
|
|
71
73
|
},
|
|
74
|
+
filtered_query: {
|
|
75
|
+
type: 'object',
|
|
76
|
+
description: 'Apply a filter expression to a nested query',
|
|
77
|
+
properties: {
|
|
78
|
+
filter: {
|
|
79
|
+
type: 'object',
|
|
80
|
+
description: 'Filter object used to constrain matching records',
|
|
81
|
+
additionalProperties: true,
|
|
82
|
+
},
|
|
83
|
+
query: {
|
|
84
|
+
type: 'object',
|
|
85
|
+
description: 'Nested query definition evaluated after filter application',
|
|
86
|
+
additionalProperties: true,
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
required: ['filter', 'query'],
|
|
90
|
+
},
|
|
72
91
|
match_all_query: {
|
|
73
92
|
type: 'object',
|
|
74
93
|
description: 'Match all documents - useful when you want all results or to filter with sorts/pagination only.',
|
|
@@ -103,17 +122,21 @@ export const SORTS_SCHEMA = {
|
|
|
103
122
|
*/
|
|
104
123
|
export const PAGINATION_SCHEMA = {
|
|
105
124
|
start: {
|
|
106
|
-
type: '
|
|
125
|
+
type: 'integer',
|
|
107
126
|
description: 'Start index for pagination (default: 0)',
|
|
108
127
|
default: 0,
|
|
128
|
+
minimum: 0,
|
|
109
129
|
},
|
|
110
130
|
count: {
|
|
111
|
-
type: '
|
|
131
|
+
type: 'integer',
|
|
112
132
|
description: 'Number of results to return (default: 200)',
|
|
113
133
|
default: 200,
|
|
134
|
+
minimum: 1,
|
|
135
|
+
maximum: 1000,
|
|
114
136
|
},
|
|
115
137
|
select: {
|
|
116
138
|
type: 'string',
|
|
139
|
+
minLength: 1,
|
|
117
140
|
description: "Property selector (e.g., '(**)' for all properties)",
|
|
118
141
|
},
|
|
119
142
|
};
|
|
@@ -139,15 +162,18 @@ export function createSearchRequestSchema(queryDescription) {
|
|
|
139
162
|
export const DATE_PARAM_SCHEMA = {
|
|
140
163
|
type: 'string',
|
|
141
164
|
description: 'Date in YYYYMMDD format (default: today)',
|
|
165
|
+
pattern: '^\\d{8}$',
|
|
142
166
|
};
|
|
143
167
|
/**
|
|
144
168
|
* Common limit parameter schema
|
|
145
169
|
*/
|
|
146
170
|
export function createLimitSchema(defaultValue, description) {
|
|
147
171
|
return {
|
|
148
|
-
type: '
|
|
172
|
+
type: 'integer',
|
|
149
173
|
description: description ?? `Number of entries to return (default: ${defaultValue})`,
|
|
150
174
|
default: defaultValue,
|
|
175
|
+
minimum: 1,
|
|
176
|
+
maximum: 1000,
|
|
151
177
|
};
|
|
152
178
|
}
|
|
153
179
|
//# sourceMappingURL=shared-schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-schemas.js","sourceRoot":"","sources":["../../../src/core/tool-schemas/shared-schemas.ts"],"names":[],"mappings":"AAAA;;;;;GA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AAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,WAAW,EAAE,6BAA6B;iBAC3C;gBACD,MAAM,EAAE;oBACN,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,WAAW,EAAE,gCAAgC;iBAC9C;aACF;SACF;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,iGAAiG;YAC9G,UAAU,EAAE,EAAE;SACf;KACF;CACO,CAAC;AAEX;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,eAAe;IAC5B,KAAK,EAAE;QACL,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kBAAkB;aAChC;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;gBACrB,WAAW,EAAE,2BAA2B;aACzC;SACF;QACD,QAAQ,EAAE,CAAC,OAAO,CAAC;KACpB;CACO,CAAC;AAEX;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,KAAK,EAAE;QACL,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"shared-schemas.js","sourceRoot":"","sources":["../../../src/core/tool-schemas/shared-schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,yBAAyB;IACtC,UAAU,EAAE;QACV,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,oCAAoC;YACjD,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB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,qDAAqD;KACnE;CACO,CAAC;AAEX;;GAEG;AACH,MAAM,UAAU,yBAAyB,CAAC,gBAAyB;IACjE,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,gEAAgE;QAC7E,UAAU,EAAE;YACV,KAAK,EAAE,gBAAgB;gBACrB,CAAC,CAAC,EAAE,GAAG,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE;gBACpD,CAAC,CAAC,YAAY;YAChB,KAAK,EAAE,YAAY;YACnB,GAAG,iBAAiB;SACrB;KACF,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,0CAA0C;IACvD,OAAO,EAAE,UAAU;CACX,CAAC;AAEX;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,YAAoB,EAAE,WAAoB;IAC1E,OAAO;QACL,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,WAAW,IAAI,yCAAyC,YAAY,GAAG;QACpF,OAAO,EAAE,YAAY;QACrB,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"}
|
|
@@ -19,6 +19,7 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
19
19
|
};
|
|
20
20
|
select: {
|
|
21
21
|
type: string;
|
|
22
|
+
minLength: number;
|
|
22
23
|
description: string;
|
|
23
24
|
default: string;
|
|
24
25
|
};
|
|
@@ -38,6 +39,7 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
38
39
|
properties: {
|
|
39
40
|
objectType: {
|
|
40
41
|
type: string;
|
|
42
|
+
minLength: number;
|
|
41
43
|
description: string;
|
|
42
44
|
};
|
|
43
45
|
start?: undefined;
|
|
@@ -58,6 +60,7 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
58
60
|
properties: {
|
|
59
61
|
objectType: {
|
|
60
62
|
type: string;
|
|
63
|
+
minLength: number;
|
|
61
64
|
description: string;
|
|
62
65
|
};
|
|
63
66
|
searchRequest: {
|
|
@@ -65,17 +68,21 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
65
68
|
description: string;
|
|
66
69
|
properties: {
|
|
67
70
|
start: {
|
|
68
|
-
readonly type: "
|
|
71
|
+
readonly type: "integer";
|
|
69
72
|
readonly description: "Start index for pagination (default: 0)";
|
|
70
73
|
readonly default: 0;
|
|
74
|
+
readonly minimum: 0;
|
|
71
75
|
};
|
|
72
76
|
count: {
|
|
73
|
-
readonly type: "
|
|
77
|
+
readonly type: "integer";
|
|
74
78
|
readonly description: "Number of results to return (default: 200)";
|
|
75
79
|
readonly default: 200;
|
|
80
|
+
readonly minimum: 1;
|
|
81
|
+
readonly maximum: 1000;
|
|
76
82
|
};
|
|
77
83
|
select: {
|
|
78
84
|
readonly type: "string";
|
|
85
|
+
readonly minLength: 1;
|
|
79
86
|
readonly description: "Property selector (e.g., '(**)' for all properties)";
|
|
80
87
|
};
|
|
81
88
|
query: {
|
|
@@ -95,6 +102,7 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
95
102
|
};
|
|
96
103
|
readonly search_phrase: {
|
|
97
104
|
readonly type: "string";
|
|
105
|
+
readonly minLength: 1;
|
|
98
106
|
readonly description: "Text to search for";
|
|
99
107
|
};
|
|
100
108
|
};
|
|
@@ -113,6 +121,7 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
113
121
|
};
|
|
114
122
|
readonly operator: {
|
|
115
123
|
readonly type: "string";
|
|
124
|
+
readonly minLength: 1;
|
|
116
125
|
readonly description: "Query operator (e.g., \"is\", \"one_of\")";
|
|
117
126
|
};
|
|
118
127
|
readonly values: {
|
|
@@ -152,6 +161,23 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
152
161
|
};
|
|
153
162
|
};
|
|
154
163
|
};
|
|
164
|
+
readonly filtered_query: {
|
|
165
|
+
readonly type: "object";
|
|
166
|
+
readonly description: "Apply a filter expression to a nested query";
|
|
167
|
+
readonly properties: {
|
|
168
|
+
readonly filter: {
|
|
169
|
+
readonly type: "object";
|
|
170
|
+
readonly description: "Filter object used to constrain matching records";
|
|
171
|
+
readonly additionalProperties: true;
|
|
172
|
+
};
|
|
173
|
+
readonly query: {
|
|
174
|
+
readonly type: "object";
|
|
175
|
+
readonly description: "Nested query definition evaluated after filter application";
|
|
176
|
+
readonly additionalProperties: true;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
readonly required: readonly ["filter", "query"];
|
|
180
|
+
};
|
|
155
181
|
readonly match_all_query: {
|
|
156
182
|
readonly type: "object";
|
|
157
183
|
readonly description: "Match all documents - useful when you want all results or to filter with sorts/pagination only.";
|
|
@@ -175,6 +201,7 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
175
201
|
};
|
|
176
202
|
readonly search_phrase: {
|
|
177
203
|
readonly type: "string";
|
|
204
|
+
readonly minLength: 1;
|
|
178
205
|
readonly description: "Text to search for";
|
|
179
206
|
};
|
|
180
207
|
};
|
|
@@ -193,6 +220,7 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
193
220
|
};
|
|
194
221
|
readonly operator: {
|
|
195
222
|
readonly type: "string";
|
|
223
|
+
readonly minLength: 1;
|
|
196
224
|
readonly description: "Query operator (e.g., \"is\", \"one_of\")";
|
|
197
225
|
};
|
|
198
226
|
readonly values: {
|
|
@@ -232,6 +260,23 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
232
260
|
};
|
|
233
261
|
};
|
|
234
262
|
};
|
|
263
|
+
readonly filtered_query: {
|
|
264
|
+
readonly type: "object";
|
|
265
|
+
readonly description: "Apply a filter expression to a nested query";
|
|
266
|
+
readonly properties: {
|
|
267
|
+
readonly filter: {
|
|
268
|
+
readonly type: "object";
|
|
269
|
+
readonly description: "Filter object used to constrain matching records";
|
|
270
|
+
readonly additionalProperties: true;
|
|
271
|
+
};
|
|
272
|
+
readonly query: {
|
|
273
|
+
readonly type: "object";
|
|
274
|
+
readonly description: "Nested query definition evaluated after filter application";
|
|
275
|
+
readonly additionalProperties: true;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
readonly required: readonly ["filter", "query"];
|
|
279
|
+
};
|
|
235
280
|
readonly match_all_query: {
|
|
236
281
|
readonly type: "object";
|
|
237
282
|
readonly description: "Match all documents - useful when you want all results or to filter with sorts/pagination only.";
|
|
@@ -277,6 +322,7 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
277
322
|
properties: {
|
|
278
323
|
groupId: {
|
|
279
324
|
type: string;
|
|
325
|
+
minLength: number;
|
|
280
326
|
description: string;
|
|
281
327
|
};
|
|
282
328
|
instanceType: {
|
|
@@ -290,17 +336,21 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
290
336
|
description: string;
|
|
291
337
|
properties: {
|
|
292
338
|
start: {
|
|
293
|
-
readonly type: "
|
|
339
|
+
readonly type: "integer";
|
|
294
340
|
readonly description: "Start index for pagination (default: 0)";
|
|
295
341
|
readonly default: 0;
|
|
342
|
+
readonly minimum: 0;
|
|
296
343
|
};
|
|
297
344
|
count: {
|
|
298
|
-
readonly type: "
|
|
345
|
+
readonly type: "integer";
|
|
299
346
|
readonly description: "Number of results to return (default: 200)";
|
|
300
347
|
readonly default: 200;
|
|
348
|
+
readonly minimum: 1;
|
|
349
|
+
readonly maximum: 1000;
|
|
301
350
|
};
|
|
302
351
|
select: {
|
|
303
352
|
readonly type: "string";
|
|
353
|
+
readonly minLength: 1;
|
|
304
354
|
readonly description: "Property selector (e.g., '(**)' for all properties)";
|
|
305
355
|
};
|
|
306
356
|
query: {
|
|
@@ -320,6 +370,7 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
320
370
|
};
|
|
321
371
|
readonly search_phrase: {
|
|
322
372
|
readonly type: "string";
|
|
373
|
+
readonly minLength: 1;
|
|
323
374
|
readonly description: "Text to search for";
|
|
324
375
|
};
|
|
325
376
|
};
|
|
@@ -338,6 +389,7 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
338
389
|
};
|
|
339
390
|
readonly operator: {
|
|
340
391
|
readonly type: "string";
|
|
392
|
+
readonly minLength: 1;
|
|
341
393
|
readonly description: "Query operator (e.g., \"is\", \"one_of\")";
|
|
342
394
|
};
|
|
343
395
|
readonly values: {
|
|
@@ -377,6 +429,23 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
377
429
|
};
|
|
378
430
|
};
|
|
379
431
|
};
|
|
432
|
+
readonly filtered_query: {
|
|
433
|
+
readonly type: "object";
|
|
434
|
+
readonly description: "Apply a filter expression to a nested query";
|
|
435
|
+
readonly properties: {
|
|
436
|
+
readonly filter: {
|
|
437
|
+
readonly type: "object";
|
|
438
|
+
readonly description: "Filter object used to constrain matching records";
|
|
439
|
+
readonly additionalProperties: true;
|
|
440
|
+
};
|
|
441
|
+
readonly query: {
|
|
442
|
+
readonly type: "object";
|
|
443
|
+
readonly description: "Nested query definition evaluated after filter application";
|
|
444
|
+
readonly additionalProperties: true;
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
readonly required: readonly ["filter", "query"];
|
|
448
|
+
};
|
|
380
449
|
readonly match_all_query: {
|
|
381
450
|
readonly type: "object";
|
|
382
451
|
readonly description: "Match all documents - useful when you want all results or to filter with sorts/pagination only.";
|
|
@@ -400,6 +469,7 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
400
469
|
};
|
|
401
470
|
readonly search_phrase: {
|
|
402
471
|
readonly type: "string";
|
|
472
|
+
readonly minLength: 1;
|
|
403
473
|
readonly description: "Text to search for";
|
|
404
474
|
};
|
|
405
475
|
};
|
|
@@ -418,6 +488,7 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
418
488
|
};
|
|
419
489
|
readonly operator: {
|
|
420
490
|
readonly type: "string";
|
|
491
|
+
readonly minLength: 1;
|
|
421
492
|
readonly description: "Query operator (e.g., \"is\", \"one_of\")";
|
|
422
493
|
};
|
|
423
494
|
readonly values: {
|
|
@@ -457,6 +528,23 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
457
528
|
};
|
|
458
529
|
};
|
|
459
530
|
};
|
|
531
|
+
readonly filtered_query: {
|
|
532
|
+
readonly type: "object";
|
|
533
|
+
readonly description: "Apply a filter expression to a nested query";
|
|
534
|
+
readonly properties: {
|
|
535
|
+
readonly filter: {
|
|
536
|
+
readonly type: "object";
|
|
537
|
+
readonly description: "Filter object used to constrain matching records";
|
|
538
|
+
readonly additionalProperties: true;
|
|
539
|
+
};
|
|
540
|
+
readonly query: {
|
|
541
|
+
readonly type: "object";
|
|
542
|
+
readonly description: "Nested query definition evaluated after filter application";
|
|
543
|
+
readonly additionalProperties: true;
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
readonly required: readonly ["filter", "query"];
|
|
547
|
+
};
|
|
460
548
|
readonly match_all_query: {
|
|
461
549
|
readonly type: "object";
|
|
462
550
|
readonly description: "Match all documents - useful when you want all results or to filter with sorts/pagination only.";
|
|
@@ -496,6 +584,7 @@ export declare const SYSTEM_OBJECT_TOOLS: ({
|
|
|
496
584
|
};
|
|
497
585
|
expand: {
|
|
498
586
|
type: string;
|
|
587
|
+
minLength: number;
|
|
499
588
|
description: string;
|
|
500
589
|
};
|
|
501
590
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-object-tools.d.ts","sourceRoot":"","sources":["../../../src/core/tool-schemas/system-object-tools.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"system-object-tools.d.ts","sourceRoot":"","sources":["../../../src/core/tool-schemas/system-object-tools.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+H/B,CAAC"}
|
|
@@ -10,17 +10,18 @@ export const SYSTEM_OBJECT_TOOLS = [
|
|
|
10
10
|
type: 'object',
|
|
11
11
|
properties: {
|
|
12
12
|
start: {
|
|
13
|
-
type: '
|
|
13
|
+
type: 'integer',
|
|
14
14
|
description: 'Start index for pagination (default: 0)',
|
|
15
15
|
default: 0,
|
|
16
16
|
},
|
|
17
17
|
count: {
|
|
18
|
-
type: '
|
|
18
|
+
type: 'integer',
|
|
19
19
|
description: 'Number of items to return (default: 200)',
|
|
20
20
|
default: 200,
|
|
21
21
|
},
|
|
22
22
|
select: {
|
|
23
23
|
type: 'string',
|
|
24
|
+
minLength: 1,
|
|
24
25
|
description: 'OCAPI field selector. Examples: "(**)" for all, "(data.(object_type, display_name))" for specific fields.',
|
|
25
26
|
default: '(**)',
|
|
26
27
|
},
|
|
@@ -35,6 +36,7 @@ export const SYSTEM_OBJECT_TOOLS = [
|
|
|
35
36
|
properties: {
|
|
36
37
|
objectType: {
|
|
37
38
|
type: 'string',
|
|
39
|
+
minLength: 1,
|
|
38
40
|
description: 'System object type, e.g., "Product", "Customer", "Order", "Category".',
|
|
39
41
|
},
|
|
40
42
|
},
|
|
@@ -49,11 +51,12 @@ export const SYSTEM_OBJECT_TOOLS = [
|
|
|
49
51
|
properties: {
|
|
50
52
|
objectType: {
|
|
51
53
|
type: 'string',
|
|
54
|
+
minLength: 1,
|
|
52
55
|
description: 'System object type, e.g., "Product", "Customer", "Order".',
|
|
53
56
|
},
|
|
54
57
|
searchRequest: createSearchRequestSchema('Query to filter attribute definitions'),
|
|
55
58
|
},
|
|
56
|
-
required: ['objectType'
|
|
59
|
+
required: ['objectType'],
|
|
57
60
|
},
|
|
58
61
|
},
|
|
59
62
|
{
|
|
@@ -64,6 +67,7 @@ export const SYSTEM_OBJECT_TOOLS = [
|
|
|
64
67
|
properties: {
|
|
65
68
|
groupId: {
|
|
66
69
|
type: 'string',
|
|
70
|
+
minLength: 1,
|
|
67
71
|
description: 'The ID of the preference group to search within',
|
|
68
72
|
},
|
|
69
73
|
instanceType: {
|
|
@@ -84,12 +88,13 @@ export const SYSTEM_OBJECT_TOOLS = [
|
|
|
84
88
|
},
|
|
85
89
|
expand: {
|
|
86
90
|
type: 'string',
|
|
91
|
+
minLength: 1,
|
|
87
92
|
description: 'Expand options (use "value" to retrieve value definitions)',
|
|
88
93
|
},
|
|
89
94
|
},
|
|
90
95
|
},
|
|
91
96
|
},
|
|
92
|
-
required: ['groupId'
|
|
97
|
+
required: ['groupId'],
|
|
93
98
|
},
|
|
94
99
|
},
|
|
95
100
|
{
|
|
@@ -100,11 +105,12 @@ export const SYSTEM_OBJECT_TOOLS = [
|
|
|
100
105
|
properties: {
|
|
101
106
|
objectType: {
|
|
102
107
|
type: 'string',
|
|
108
|
+
minLength: 1,
|
|
103
109
|
description: 'System object type, e.g., "Product", "Customer", "SitePreferences".',
|
|
104
110
|
},
|
|
105
111
|
searchRequest: createSearchRequestSchema('Query to filter attribute groups'),
|
|
106
112
|
},
|
|
107
|
-
required: ['objectType'
|
|
113
|
+
required: ['objectType'],
|
|
108
114
|
},
|
|
109
115
|
},
|
|
110
116
|
{
|
|
@@ -115,11 +121,12 @@ export const SYSTEM_OBJECT_TOOLS = [
|
|
|
115
121
|
properties: {
|
|
116
122
|
objectType: {
|
|
117
123
|
type: 'string',
|
|
124
|
+
minLength: 1,
|
|
118
125
|
description: 'Custom object type, e.g., "Global_String", "MyCustomObject".',
|
|
119
126
|
},
|
|
120
127
|
searchRequest: createSearchRequestSchema('Query to filter attribute definitions'),
|
|
121
128
|
},
|
|
122
|
-
required: ['objectType'
|
|
129
|
+
required: ['objectType'],
|
|
123
130
|
},
|
|
124
131
|
},
|
|
125
132
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-object-tools.js","sourceRoot":"","sources":["../../../src/core/tool-schemas/system-object-tools.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC;QACE,IAAI,EAAE,+BAA+B;QACrC,WAAW,EAAE,sJAAsJ;QACnK,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"system-object-tools.js","sourceRoot":"","sources":["../../../src/core/tool-schemas/system-object-tools.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC;QACE,IAAI,EAAE,+BAA+B;QACrC,WAAW,EAAE,sJAAsJ;QACnK,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,IAAI,EAAE,SAAS;oBACf,WAAW,EAAE,yCAAyC;oBACtD,OAAO,EAA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AAS;iBACnB;gBACD,aAAa,EAAE,yBAAyB,CAAC,kCAAkC,CAAC;gBAC5E,OAAO,EAAE;oBACP,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,mCAAmC;oBAChD,UAAU,EAAE;wBACV,aAAa,EAAE;4BACb,IAAI,EAAE,SAAS;4BACf,WAAW,EAAE,iEAAiE;4BAC9E,OAAO,EAAE,IAAI;yBACd;wBACD,MAAM,EAAE;4BACN,IAAI,EAAE,QAAQ;4BACd,SAAS,EAAE,CAAC;4BACZ,WAAW,EAAE,4DAA4D;yBAC1E;qBACF;iBACF;aACF;YACD,QAAQ,EAAE,CAAC,SAAS,CAAC;SACtB;KACF;IACD;QACE,IAAI,EAAE,uCAAuC;QAC7C,WAAW,EAAE,iJAAiJ;QAC9J,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,SAAS,EAAE,CAAC;oBACZ,WAAW,EAAE,qEAAqE;iBACnF;gBACD,aAAa,EAAE,yBAAyB,CAAC,kCAAkC,CAAC;aAC7E;YACD,QAAQ,EAAE,CAAC,YAAY,CAAC;SACzB;KACF;IACD;QACE,IAAI,EAAE,4CAA4C;QAClD,WAAW,EAAE,oJAAoJ;QACjK,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,SAAS,EAAE,CAAC;oBACZ,WAAW,EAAE,8DAA8D;iBAC5E;gBACD,aAAa,EAAE,yBAAyB,CAAC,uCAAuC,CAAC;aAClF;YACD,QAAQ,EAAE,CAAC,YAAY,CAAC;SACzB;KACF;CACF,CAAC"}
|
|
@@ -223,6 +223,12 @@ Refunds previously captured funds for the given order payment instrument.
|
|
|
223
223
|
|
|
224
224
|
Refunds previously captured funds for the given payment intent.
|
|
225
225
|
|
|
226
|
+
### refundPayPalOrderCapture
|
|
227
|
+
|
|
228
|
+
**Signature:** `static refundPayPalOrderCapture(paypalOrder : SalesforcePayPalOrder) : Status`
|
|
229
|
+
|
|
230
|
+
Refunds the capture for the given PayPal order.
|
|
231
|
+
|
|
226
232
|
### removeAdyenSavedPaymentMethod
|
|
227
233
|
|
|
228
234
|
**Signature:** `static removeAdyenSavedPaymentMethod(savedPaymentMethod : SalesforceAdyenSavedPaymentMethod) : void`
|
|
@@ -265,6 +271,12 @@ Sets the details to the Salesforce Payments payment associated with the given pa
|
|
|
265
271
|
|
|
266
272
|
Updates the provided information in the given payment intent.
|
|
267
273
|
|
|
274
|
+
### voidPayPalOrderAuthorization
|
|
275
|
+
|
|
276
|
+
**Signature:** `static voidPayPalOrderAuthorization(paypalOrder : SalesforcePayPalOrder) : Status`
|
|
277
|
+
|
|
278
|
+
Voids the authorization for the given PayPal order.
|
|
279
|
+
|
|
268
280
|
## Method Detail
|
|
269
281
|
|
|
270
282
|
## Method Details
|
|
@@ -806,6 +818,26 @@ Exception - if there was an error refunding the payment intent
|
|
|
806
818
|
|
|
807
819
|
---
|
|
808
820
|
|
|
821
|
+
### refundPayPalOrderCapture
|
|
822
|
+
|
|
823
|
+
**Signature:** `static refundPayPalOrderCapture(paypalOrder : SalesforcePayPalOrder) : Status`
|
|
824
|
+
|
|
825
|
+
**Description:** Refunds the capture for the given PayPal order. The PayPal order must have a capture in a status that supports refund. See the PayPal documentation for more details.
|
|
826
|
+
|
|
827
|
+
**Parameters:**
|
|
828
|
+
|
|
829
|
+
- `paypalOrder`: PayPal order whose capture to refund
|
|
830
|
+
|
|
831
|
+
**Returns:**
|
|
832
|
+
|
|
833
|
+
Status 'OK' or 'ERROR'. Status detail 'error' contains the PayPal error information, if it is available in the response.
|
|
834
|
+
|
|
835
|
+
**Throws:**
|
|
836
|
+
|
|
837
|
+
Exception - if there was an error refunding the capture for the PayPal order
|
|
838
|
+
|
|
839
|
+
---
|
|
840
|
+
|
|
809
841
|
### removeAdyenSavedPaymentMethod
|
|
810
842
|
|
|
811
843
|
**Signature:** `static removeAdyenSavedPaymentMethod(savedPaymentMethod : SalesforceAdyenSavedPaymentMethod) : void`
|
|
@@ -940,4 +972,24 @@ Status 'OK' or 'ERROR'. Status detail 'paymentintent' contains the payment inten
|
|
|
940
972
|
|
|
941
973
|
Exception - if the parameter validation failed or there's an error updating the payment intent
|
|
942
974
|
|
|
975
|
+
---
|
|
976
|
+
|
|
977
|
+
### voidPayPalOrderAuthorization
|
|
978
|
+
|
|
979
|
+
**Signature:** `static voidPayPalOrderAuthorization(paypalOrder : SalesforcePayPalOrder) : Status`
|
|
980
|
+
|
|
981
|
+
**Description:** Voids the authorization for the given PayPal order. The PayPal order must have an authorization in a status that supports voiding. See the PayPal documentation for more details.
|
|
982
|
+
|
|
983
|
+
**Parameters:**
|
|
984
|
+
|
|
985
|
+
- `paypalOrder`: PayPal order whose authorization to void
|
|
986
|
+
|
|
987
|
+
**Returns:**
|
|
988
|
+
|
|
989
|
+
Status 'OK' or 'ERROR'. Status detail 'error' contains the PayPal error information, if it is available in the response.
|
|
990
|
+
|
|
991
|
+
**Throws:**
|
|
992
|
+
|
|
993
|
+
Exception - if there was an error voiding the authorization for the PayPal order
|
|
994
|
+
|
|
943
995
|
---
|
|
@@ -444,6 +444,10 @@ Sets the given locale for the request.
|
|
|
444
444
|
|
|
445
445
|
**Description:** Adds the specified cookie to the outgoing response. This method can be called multiple times to set more than one cookie. If a cookie with the same cookie name, domain and path is set multiple times for the same response, only the last set cookie with this name is send to the client. This method can be used to set, update or delete cookies at the client. If the cookie doesn't exist at the client, it is set initially. If a cookie with the same name, domain and path already exists at the client, it is updated. A cookie can be deleted at the client by submitting a cookie with the maxAge attribute set to 0 (see Cookie.setMaxAge() for more information). Example, how a cookie can be deleted at the client: var cookie : Cookie = new Cookie("SomeName", "Simple Value"); cookie.setMaxAge(0); request.addHttpCookie(cookie);
|
|
446
446
|
|
|
447
|
+
**API Versioned:**
|
|
448
|
+
|
|
449
|
+
No longer available as of version 99.2. This method is deprecated and will be removed in the next API version.
|
|
450
|
+
|
|
447
451
|
**Deprecated:**
|
|
448
452
|
|
|
449
453
|
Use Response.addHttpCookie(Cookie) instead.
|