@aws-sdk/client-partnercentral-selling 3.1046.0 → 3.1048.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/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +13 -13
- package/dist-cjs/runtimeConfig.browser.js +5 -5
- package/dist-cjs/runtimeConfig.js +2 -3
- package/dist-cjs/schemas/schemas_0.js +17 -10
- package/dist-es/PartnerCentralSellingClient.js +1 -4
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/enums.js +3 -0
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeExtensions.js +1 -1
- package/dist-es/schemas/schemas_0.js +13 -6
- package/dist-types/PartnerCentralSellingClient.d.ts +1 -2
- package/dist-types/commands/CreateOpportunityCommand.d.ts +4 -0
- package/dist-types/commands/GetOpportunityCommand.d.ts +4 -0
- package/dist-types/commands/GetResourceSnapshotCommand.d.ts +4 -0
- package/dist-types/commands/ListOpportunitiesCommand.d.ts +4 -0
- package/dist-types/commands/UpdateOpportunityCommand.d.ts +4 -0
- package/dist-types/models/enums.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +33 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/PartnerCentralSellingClient.d.ts +1 -3
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +6 -14
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const
|
|
4
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
5
5
|
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
7
|
const cache = new endpoints_1.EndpointCache({
|
|
@@ -15,4 +15,4 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
endpoints_1.customEndpointFunctions.aws =
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
-
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
-
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
3
|
+
var client$1 = require('@aws-sdk/core/client');
|
|
7
4
|
var core = require('@smithy/core');
|
|
8
5
|
var client = require('@smithy/core/client');
|
|
9
6
|
var config = require('@smithy/core/config');
|
|
@@ -13,7 +10,6 @@ var retry = require('@smithy/core/retry');
|
|
|
13
10
|
var schema = require('@smithy/core/schema');
|
|
14
11
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
15
12
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
|
-
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
13
|
var schemas_0 = require('./schemas/schemas_0');
|
|
18
14
|
var errors = require('./models/errors');
|
|
19
15
|
var PartnerCentralSellingServiceException = require('./models/PartnerCentralSellingServiceException');
|
|
@@ -70,9 +66,9 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
70
66
|
};
|
|
71
67
|
|
|
72
68
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
73
|
-
const extensionConfiguration = Object.assign(
|
|
69
|
+
const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
74
70
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
75
|
-
return Object.assign(runtimeConfig,
|
|
71
|
+
return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
76
72
|
};
|
|
77
73
|
|
|
78
74
|
class PartnerCentralSellingClient extends client.Client {
|
|
@@ -82,21 +78,21 @@ class PartnerCentralSellingClient extends client.Client {
|
|
|
82
78
|
super(_config_0);
|
|
83
79
|
this.initConfig = _config_0;
|
|
84
80
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
85
|
-
const _config_2 =
|
|
81
|
+
const _config_2 = client$1.resolveUserAgentConfig(_config_1);
|
|
86
82
|
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
87
83
|
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
88
|
-
const _config_5 =
|
|
84
|
+
const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
|
|
89
85
|
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
90
86
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
91
87
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
92
88
|
this.config = _config_8;
|
|
93
89
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
|
-
this.middlewareStack.use(
|
|
90
|
+
this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
|
|
95
91
|
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
96
92
|
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
97
|
-
this.middlewareStack.use(
|
|
98
|
-
this.middlewareStack.use(
|
|
99
|
-
this.middlewareStack.use(
|
|
93
|
+
this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
|
|
94
|
+
this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
|
|
100
96
|
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
97
|
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultPartnerCentralSellingHttpAuthSchemeParametersProvider,
|
|
102
98
|
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
@@ -1466,6 +1462,9 @@ const DeliveryModel = {
|
|
|
1466
1462
|
RESELL: "Resell",
|
|
1467
1463
|
SAAS_OR_PAAS: "SaaS or PaaS",
|
|
1468
1464
|
};
|
|
1465
|
+
const ExpectedContractDurationTerm = {
|
|
1466
|
+
MONTHS: "Months",
|
|
1467
|
+
};
|
|
1469
1468
|
const SalesActivity = {
|
|
1470
1469
|
AGREED_ON_SOLUTION_TO_BUSINESS_PROBLEM: "Agreed on solution to Business Problem",
|
|
1471
1470
|
COMPLETED_ACTION_PLAN: "Completed Action Plan",
|
|
@@ -1541,6 +1540,7 @@ exports.EngagementContextType = EngagementContextType;
|
|
|
1541
1540
|
exports.EngagementInvitationPayloadType = EngagementInvitationPayloadType;
|
|
1542
1541
|
exports.EngagementScore = EngagementScore;
|
|
1543
1542
|
exports.EngagementSortName = EngagementSortName;
|
|
1543
|
+
exports.ExpectedContractDurationTerm = ExpectedContractDurationTerm;
|
|
1544
1544
|
exports.GetAwsOpportunitySummaryCommand = GetAwsOpportunitySummaryCommand;
|
|
1545
1545
|
exports.GetEngagementCommand = GetEngagementCommand;
|
|
1546
1546
|
exports.GetEngagementInvitationCommand = GetEngagementInvitationCommand;
|
|
@@ -4,8 +4,8 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
7
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
8
|
+
const client_2 = require("@smithy/core/client");
|
|
9
9
|
const config_1 = require("@smithy/core/config");
|
|
10
10
|
const retry_1 = require("@smithy/core/retry");
|
|
11
11
|
const serde_1 = require("@smithy/core/serde");
|
|
@@ -13,7 +13,7 @@ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
|
13
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
14
|
const getRuntimeConfig = (config) => {
|
|
15
15
|
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
16
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
17
17
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
18
18
|
return {
|
|
19
19
|
...clientSharedValues,
|
|
@@ -22,9 +22,9 @@ const getRuntimeConfig = (config) => {
|
|
|
22
22
|
defaultsMode,
|
|
23
23
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
24
24
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
25
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
25
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
26
26
|
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
27
|
-
region: config?.region ?? (0,
|
|
27
|
+
region: config?.region ?? (0, client_2.invalidProvider)("Region is missing"),
|
|
28
28
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
29
29
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
30
30
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
@@ -6,7 +6,6 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
|
6
6
|
const client_1 = require("@aws-sdk/core/client");
|
|
7
7
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
-
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
10
9
|
const client_2 = require("@smithy/core/client");
|
|
11
10
|
const config_1 = require("@smithy/core/config");
|
|
12
11
|
const retry_1 = require("@smithy/core/retry");
|
|
@@ -31,7 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
31
30
|
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
32
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
33
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
34
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
35
|
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
37
36
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -44,7 +43,7 @@ const getRuntimeConfig = (config) => {
|
|
|
44
43
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
44
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
46
45
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
47
|
-
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(
|
|
46
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
48
47
|
};
|
|
49
48
|
};
|
|
50
49
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EngagementContextDetails$ = exports.DisassociateOpportunityRequest$ = exports.DeleteResourceSnapshotJobRequest$ = exports.CustomerSummary$ = exports.CustomerProjectsContext$ = exports.Customer$ = exports.CreateResourceSnapshotResponse$ = exports.CreateResourceSnapshotRequest$ = exports.CreateResourceSnapshotJobResponse$ = exports.CreateResourceSnapshotJobRequest$ = exports.CreateOpportunityResponse$ = exports.CreateOpportunityRequest$ = exports.CreateEngagementResponse$ = exports.CreateEngagementRequest$ = exports.CreateEngagementInvitationResponse$ = exports.CreateEngagementInvitationRequest$ = exports.CreateEngagementContextResponse$ = exports.CreateEngagementContextRequest$ = exports.CreatedDateFilter$ = exports.Contact$ = exports.AwsTeamMember$ = exports.AwsSubmission$ = exports.AwsProductsSpendInsightsBySource$ = exports.AwsProductOptimization$ = exports.AwsProductInsights$ = exports.AwsProductDetails$ = exports.AwsOpportunitySummaryFullView$ = exports.AwsOpportunityRelatedEntities$ = exports.AwsOpportunityProject$ = exports.AwsOpportunityLifeCycle$ = exports.AwsOpportunityInsights$ = exports.AwsOpportunityCustomer$ = exports.AssociateOpportunityRequest$ = exports.AssignOpportunityRequest$ = exports.AssigneeContact$ = exports.AddressSummary$ = exports.Address$ = exports.AccountSummary$ = exports.AccountReceiver$ = exports.Account$ = exports.AcceptEngagementInvitationRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.PartnerCentralSellingServiceException$ = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.UpdateOpportunity$ = exports.UpdateEngagementContext$ = exports.UntagResource$ = exports.TagResource$ = exports.SubmitOpportunity$ = void 0;
|
|
4
|
+
exports.ListEngagementsResponse$ = exports.ListEngagementsRequest$ = exports.ListEngagementResourceAssociationsResponse$ = exports.ListEngagementResourceAssociationsRequest$ = exports.ListEngagementMembersResponse$ = exports.ListEngagementMembersRequest$ = exports.ListEngagementInvitationsResponse$ = exports.ListEngagementInvitationsRequest$ = exports.ListEngagementFromOpportunityTaskSummary$ = exports.ListEngagementFromOpportunityTasksResponse$ = exports.ListEngagementFromOpportunityTasksRequest$ = exports.ListEngagementByAcceptingInvitationTaskSummary$ = exports.ListEngagementByAcceptingInvitationTasksResponse$ = exports.ListEngagementByAcceptingInvitationTasksRequest$ = exports.LifeCycleSummary$ = exports.LifeCycleForView$ = exports.LifeCycle$ = exports.LeadInvitationPayload$ = exports.LeadInvitationInteraction$ = exports.LeadInvitationCustomer$ = exports.LeadInteraction$ = exports.LeadCustomer$ = exports.LeadContext$ = exports.LeadContact$ = exports.LastModifiedDate$ = exports.Invitation$ = exports.GetSellingSystemSettingsResponse$ = exports.GetSellingSystemSettingsRequest$ = exports.GetResourceSnapshotResponse$ = exports.GetResourceSnapshotRequest$ = exports.GetResourceSnapshotJobResponse$ = exports.GetResourceSnapshotJobRequest$ = exports.GetOpportunityResponse$ = exports.GetOpportunityRequest$ = exports.GetEngagementResponse$ = exports.GetEngagementRequest$ = exports.GetEngagementInvitationResponse$ = exports.GetEngagementInvitationRequest$ = exports.GetAwsOpportunitySummaryResponse$ = exports.GetAwsOpportunitySummaryRequest$ = exports.ExpectedCustomerSpend$ = exports.ExpectedContractDuration$ = exports.EngagementSummary$ = exports.EngagementSort$ = exports.EngagementResourceAssociationSummary$ = exports.EngagementMemberSummary$ = exports.EngagementMember$ = exports.EngagementInvitationSummary$ = exports.EngagementCustomerProjectDetails$ = exports.EngagementCustomer$ = void 0;
|
|
5
|
+
exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Tag$ = exports.SubmitOpportunityRequest$ = exports.StopResourceSnapshotJobRequest$ = exports.StartResourceSnapshotJobRequest$ = exports.StartOpportunityFromEngagementTaskResponse$ = exports.StartOpportunityFromEngagementTaskRequest$ = exports.StartEngagementFromOpportunityTaskResponse$ = exports.StartEngagementFromOpportunityTaskRequest$ = exports.StartEngagementByAcceptingInvitationTaskResponse$ = exports.StartEngagementByAcceptingInvitationTaskRequest$ = exports.SortObject$ = exports.SolutionSort$ = exports.SolutionBase$ = exports.SoftwareRevenue$ = exports.SenderContact$ = exports.ResourceSnapshotSummary$ = exports.ResourceSnapshotJobSummary$ = exports.RelatedEntityIdentifiers$ = exports.RejectEngagementInvitationRequest$ = exports.PutSellingSystemSettingsResponse$ = exports.PutSellingSystemSettingsRequest$ = exports.ProjectView$ = exports.ProjectSummary$ = exports.ProjectDetails$ = exports.Project$ = exports.ProfileNextStepsHistory$ = exports.OpportunitySummaryView$ = exports.OpportunitySummary$ = exports.OpportunitySort$ = exports.OpportunityInvitationPayload$ = exports.OpportunityEngagementInvitationSort$ = exports.NextStepsHistory$ = exports.MonetaryValue$ = exports.Marketing$ = exports.ListTasksSortBase$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListSolutionsResponse$ = exports.ListSolutionsRequest$ = exports.ListResourceSnapshotsResponse$ = exports.ListResourceSnapshotsRequest$ = exports.ListResourceSnapshotJobsResponse$ = exports.ListResourceSnapshotJobsRequest$ = exports.ListOpportunityFromEngagementTaskSummary$ = exports.ListOpportunityFromEngagementTasksResponse$ = exports.ListOpportunityFromEngagementTasksRequest$ = exports.ListOpportunitiesResponse$ = exports.ListOpportunitiesRequest$ = void 0;
|
|
6
|
+
exports.StartResourceSnapshotJob$ = exports.StartOpportunityFromEngagementTask$ = exports.StartEngagementFromOpportunityTask$ = exports.StartEngagementByAcceptingInvitationTask$ = exports.RejectEngagementInvitation$ = exports.PutSellingSystemSettings$ = exports.ListTagsForResource$ = exports.ListSolutions$ = exports.ListResourceSnapshots$ = exports.ListResourceSnapshotJobs$ = exports.ListOpportunityFromEngagementTasks$ = exports.ListOpportunities$ = exports.ListEngagements$ = exports.ListEngagementResourceAssociations$ = exports.ListEngagementMembers$ = exports.ListEngagementInvitations$ = exports.ListEngagementFromOpportunityTasks$ = exports.ListEngagementByAcceptingInvitationTasks$ = exports.GetSellingSystemSettings$ = exports.GetResourceSnapshotJob$ = exports.GetResourceSnapshot$ = exports.GetOpportunity$ = exports.GetEngagementInvitation$ = exports.GetEngagement$ = exports.GetAwsOpportunitySummary$ = exports.DisassociateOpportunity$ = exports.DeleteResourceSnapshotJob$ = exports.CreateResourceSnapshotJob$ = exports.CreateResourceSnapshot$ = exports.CreateOpportunity$ = exports.CreateEngagementInvitation$ = exports.CreateEngagementContext$ = exports.CreateEngagement$ = exports.AssociateOpportunity$ = exports.AssignOpportunity$ = exports.AcceptEngagementInvitation$ = exports.UpdateEngagementContextPayload$ = exports.ResourceSnapshotPayload$ = exports.Receiver$ = exports.Payload$ = exports.EngagementContextPayload$ = exports.ValidationExceptionError$ = exports.UpdateOpportunityResponse$ = exports.UpdateOpportunityRequest$ = exports.UpdateLeadContext$ = exports.UpdateEngagementContextResponse$ = exports.UpdateEngagementContextRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TargetCloseDateFilter$ = void 0;
|
|
7
|
+
exports.UpdateOpportunity$ = exports.UpdateEngagementContext$ = exports.UntagResource$ = exports.TagResource$ = exports.SubmitOpportunity$ = exports.StopResourceSnapshotJob$ = void 0;
|
|
8
8
|
const _A = "Alias";
|
|
9
9
|
const _AA = "AwsAccount";
|
|
10
10
|
const _AAI = "AwsAccountId";
|
|
@@ -129,6 +129,7 @@ const _EC = "EngagementCustomer";
|
|
|
129
129
|
const _ECB = "ExcludeCreatedBy";
|
|
130
130
|
const _ECBP = "EngagementCustomerBusinessProblem";
|
|
131
131
|
const _ECD = "EngagementContextDetails";
|
|
132
|
+
const _ECDx = "ExpectedContractDuration";
|
|
132
133
|
const _ECP = "EngagementContextPayload";
|
|
133
134
|
const _ECPD = "EngagementCustomerProjectDetails";
|
|
134
135
|
const _ECS = "ExpectedCustomerSpend";
|
|
@@ -422,6 +423,7 @@ const _TS = "TaskStatus";
|
|
|
422
423
|
const _TSa = "TaskSummaries";
|
|
423
424
|
const _Ta = "Tags";
|
|
424
425
|
const _Tag = "Tag";
|
|
426
|
+
const _Te = "Term";
|
|
425
427
|
const _Ti = "Title";
|
|
426
428
|
const _Tim = "Time";
|
|
427
429
|
const _U = "Usecase";
|
|
@@ -768,6 +770,11 @@ exports.EngagementSummary$ = [3, n0, _ESng,
|
|
|
768
770
|
[_Ar, _Id, _Ti, _CA, _CB, _MC, _MAo, _MB, _CTo],
|
|
769
771
|
[0, 0, 0, 5, [() => AwsAccount, 0], 1, 5, [() => AwsAccount, 0], 64 | 0]
|
|
770
772
|
];
|
|
773
|
+
exports.ExpectedContractDuration$ = [3, n0, _ECDx,
|
|
774
|
+
0,
|
|
775
|
+
[_Te, _Va],
|
|
776
|
+
[0, 0], 2
|
|
777
|
+
];
|
|
771
778
|
exports.ExpectedCustomerSpend$ = [3, n0, _ECS,
|
|
772
779
|
0,
|
|
773
780
|
[_CCu, _F, _TC, _Am, _EU],
|
|
@@ -1090,8 +1097,8 @@ exports.ProfileNextStepsHistory$ = [3, n0, _PNSH,
|
|
|
1090
1097
|
];
|
|
1091
1098
|
exports.Project$ = [3, n0, _Pr,
|
|
1092
1099
|
0,
|
|
1093
|
-
[_DM, _ECS, _Ti, _APp, _CBP, _CUC, _ROIe, _SAal, _CNo, _OCN, _OSD, _ACd, _APw],
|
|
1094
|
-
[64 | 0, [() => ExpectedCustomerSpendList, 0], [() => PiiString, 0], 64 | 0, [() => PiiString, 0], 0, 0, 64 | 0, 0, 0, [() => PiiString, 0], 0, 0]
|
|
1100
|
+
[_DM, _ECS, _ECDx, _Ti, _APp, _CBP, _CUC, _ROIe, _SAal, _CNo, _OCN, _OSD, _ACd, _APw],
|
|
1101
|
+
[64 | 0, [() => ExpectedCustomerSpendList, 0], () => exports.ExpectedContractDuration$, [() => PiiString, 0], 64 | 0, [() => PiiString, 0], 0, 0, 64 | 0, 0, 0, [() => PiiString, 0], 0, 0]
|
|
1095
1102
|
];
|
|
1096
1103
|
exports.ProjectDetails$ = [3, n0, _PD,
|
|
1097
1104
|
0,
|
|
@@ -1100,13 +1107,13 @@ exports.ProjectDetails$ = [3, n0, _PD,
|
|
|
1100
1107
|
];
|
|
1101
1108
|
exports.ProjectSummary$ = [3, n0, _PSr,
|
|
1102
1109
|
0,
|
|
1103
|
-
[_DM, _ECS],
|
|
1104
|
-
[64 | 0, [() => ExpectedCustomerSpendList, 0]]
|
|
1110
|
+
[_DM, _ECS, _ECDx],
|
|
1111
|
+
[64 | 0, [() => ExpectedCustomerSpendList, 0], () => exports.ExpectedContractDuration$]
|
|
1105
1112
|
];
|
|
1106
1113
|
exports.ProjectView$ = [3, n0, _PV,
|
|
1107
1114
|
0,
|
|
1108
|
-
[_DM, _ECS, _CUC, _SAal, _OSD],
|
|
1109
|
-
[64 | 0, [() => ExpectedCustomerSpendList, 0], 0, 64 | 0, [() => PiiString, 0]]
|
|
1115
|
+
[_DM, _ECS, _ECDx, _CUC, _SAal, _OSD],
|
|
1116
|
+
[64 | 0, [() => ExpectedCustomerSpendList, 0], () => exports.ExpectedContractDuration$, 0, 64 | 0, [() => PiiString, 0]]
|
|
1110
1117
|
];
|
|
1111
1118
|
exports.PutSellingSystemSettingsRequest$ = [3, n0, _PSSSR,
|
|
1112
1119
|
0,
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/
|
|
2
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
|
-
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
|
-
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
1
|
+
import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
|
|
5
2
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
6
3
|
import { Client as __Client, } from "@smithy/core/client";
|
|
7
4
|
import { resolveRegionConfig } from "@smithy/core/config";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { awsEndpointFunctions } from "@aws-sdk/
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/core/client";
|
|
2
2
|
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
package/dist-es/models/enums.js
CHANGED
|
@@ -767,6 +767,9 @@ export const DeliveryModel = {
|
|
|
767
767
|
RESELL: "Resell",
|
|
768
768
|
SAAS_OR_PAAS: "SaaS or PaaS",
|
|
769
769
|
};
|
|
770
|
+
export const ExpectedContractDurationTerm = {
|
|
771
|
+
MONTHS: "Months",
|
|
772
|
+
};
|
|
770
773
|
export const SalesActivity = {
|
|
771
774
|
AGREED_ON_SOLUTION_TO_BUSINESS_PROBLEM: "Agreed on solution to Business Problem",
|
|
772
775
|
COMPLETED_ACTION_PLAN: "Completed Action Plan",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import { createDefaultUserAgentProvider } from "@aws-sdk/
|
|
3
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
4
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
5
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
6
6
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
2
|
+
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
-
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
6
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
7
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
8
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration } from "@aws-sdk/core/client";
|
|
2
2
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
3
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
@@ -122,6 +122,7 @@ const _EC = "EngagementCustomer";
|
|
|
122
122
|
const _ECB = "ExcludeCreatedBy";
|
|
123
123
|
const _ECBP = "EngagementCustomerBusinessProblem";
|
|
124
124
|
const _ECD = "EngagementContextDetails";
|
|
125
|
+
const _ECDx = "ExpectedContractDuration";
|
|
125
126
|
const _ECP = "EngagementContextPayload";
|
|
126
127
|
const _ECPD = "EngagementCustomerProjectDetails";
|
|
127
128
|
const _ECS = "ExpectedCustomerSpend";
|
|
@@ -415,6 +416,7 @@ const _TS = "TaskStatus";
|
|
|
415
416
|
const _TSa = "TaskSummaries";
|
|
416
417
|
const _Ta = "Tags";
|
|
417
418
|
const _Tag = "Tag";
|
|
419
|
+
const _Te = "Term";
|
|
418
420
|
const _Ti = "Title";
|
|
419
421
|
const _Tim = "Time";
|
|
420
422
|
const _U = "Usecase";
|
|
@@ -761,6 +763,11 @@ export var EngagementSummary$ = [3, n0, _ESng,
|
|
|
761
763
|
[_Ar, _Id, _Ti, _CA, _CB, _MC, _MAo, _MB, _CTo],
|
|
762
764
|
[0, 0, 0, 5, [() => AwsAccount, 0], 1, 5, [() => AwsAccount, 0], 64 | 0]
|
|
763
765
|
];
|
|
766
|
+
export var ExpectedContractDuration$ = [3, n0, _ECDx,
|
|
767
|
+
0,
|
|
768
|
+
[_Te, _Va],
|
|
769
|
+
[0, 0], 2
|
|
770
|
+
];
|
|
764
771
|
export var ExpectedCustomerSpend$ = [3, n0, _ECS,
|
|
765
772
|
0,
|
|
766
773
|
[_CCu, _F, _TC, _Am, _EU],
|
|
@@ -1083,8 +1090,8 @@ export var ProfileNextStepsHistory$ = [3, n0, _PNSH,
|
|
|
1083
1090
|
];
|
|
1084
1091
|
export var Project$ = [3, n0, _Pr,
|
|
1085
1092
|
0,
|
|
1086
|
-
[_DM, _ECS, _Ti, _APp, _CBP, _CUC, _ROIe, _SAal, _CNo, _OCN, _OSD, _ACd, _APw],
|
|
1087
|
-
[64 | 0, [() => ExpectedCustomerSpendList, 0], [() => PiiString, 0], 64 | 0, [() => PiiString, 0], 0, 0, 64 | 0, 0, 0, [() => PiiString, 0], 0, 0]
|
|
1093
|
+
[_DM, _ECS, _ECDx, _Ti, _APp, _CBP, _CUC, _ROIe, _SAal, _CNo, _OCN, _OSD, _ACd, _APw],
|
|
1094
|
+
[64 | 0, [() => ExpectedCustomerSpendList, 0], () => ExpectedContractDuration$, [() => PiiString, 0], 64 | 0, [() => PiiString, 0], 0, 0, 64 | 0, 0, 0, [() => PiiString, 0], 0, 0]
|
|
1088
1095
|
];
|
|
1089
1096
|
export var ProjectDetails$ = [3, n0, _PD,
|
|
1090
1097
|
0,
|
|
@@ -1093,13 +1100,13 @@ export var ProjectDetails$ = [3, n0, _PD,
|
|
|
1093
1100
|
];
|
|
1094
1101
|
export var ProjectSummary$ = [3, n0, _PSr,
|
|
1095
1102
|
0,
|
|
1096
|
-
[_DM, _ECS],
|
|
1097
|
-
[64 | 0, [() => ExpectedCustomerSpendList, 0]]
|
|
1103
|
+
[_DM, _ECS, _ECDx],
|
|
1104
|
+
[64 | 0, [() => ExpectedCustomerSpendList, 0], () => ExpectedContractDuration$]
|
|
1098
1105
|
];
|
|
1099
1106
|
export var ProjectView$ = [3, n0, _PV,
|
|
1100
1107
|
0,
|
|
1101
|
-
[_DM, _ECS, _CUC, _SAal, _OSD],
|
|
1102
|
-
[64 | 0, [() => ExpectedCustomerSpendList, 0], 0, 64 | 0, [() => PiiString, 0]]
|
|
1108
|
+
[_DM, _ECS, _ECDx, _CUC, _SAal, _OSD],
|
|
1109
|
+
[64 | 0, [() => ExpectedCustomerSpendList, 0], () => ExpectedContractDuration$, 0, 64 | 0, [() => PiiString, 0]]
|
|
1103
1110
|
];
|
|
1104
1111
|
export var PutSellingSystemSettingsRequest$ = [3, n0, _PSSSR,
|
|
1105
1112
|
0,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/
|
|
2
|
-
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
3
2
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
3
|
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
4
|
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
@@ -84,6 +84,10 @@ declare const CreateOpportunityCommand_base: {
|
|
|
84
84
|
* EstimationUrl: "STRING_VALUE",
|
|
85
85
|
* },
|
|
86
86
|
* ],
|
|
87
|
+
* ExpectedContractDuration: { // ExpectedContractDuration
|
|
88
|
+
* Term: "Months", // required
|
|
89
|
+
* Value: "STRING_VALUE", // required
|
|
90
|
+
* },
|
|
87
91
|
* Title: "STRING_VALUE",
|
|
88
92
|
* ApnPrograms: [ // ApnPrograms
|
|
89
93
|
* "STRING_VALUE",
|
|
@@ -90,6 +90,10 @@ declare const GetOpportunityCommand_base: {
|
|
|
90
90
|
* // EstimationUrl: "STRING_VALUE",
|
|
91
91
|
* // },
|
|
92
92
|
* // ],
|
|
93
|
+
* // ExpectedContractDuration: { // ExpectedContractDuration
|
|
94
|
+
* // Term: "Months", // required
|
|
95
|
+
* // Value: "STRING_VALUE", // required
|
|
96
|
+
* // },
|
|
93
97
|
* // Title: "STRING_VALUE",
|
|
94
98
|
* // ApnPrograms: [ // ApnPrograms
|
|
95
99
|
* // "STRING_VALUE",
|
|
@@ -118,6 +118,10 @@ declare const GetResourceSnapshotCommand_base: {
|
|
|
118
118
|
* // EstimationUrl: "STRING_VALUE",
|
|
119
119
|
* // },
|
|
120
120
|
* // ],
|
|
121
|
+
* // ExpectedContractDuration: { // ExpectedContractDuration
|
|
122
|
+
* // Term: "Months", // required
|
|
123
|
+
* // Value: "STRING_VALUE", // required
|
|
124
|
+
* // },
|
|
121
125
|
* // CustomerUseCase: "STRING_VALUE",
|
|
122
126
|
* // SalesActivities: [ // SalesActivities
|
|
123
127
|
* // "Initialized discussions with customer" || "Customer has shown interest in solution" || "Conducted POC / Demo" || "In evaluation / planning stage" || "Agreed on solution to Business Problem" || "Completed Action Plan" || "Finalized Deployment Need" || "SOW Signed",
|
|
@@ -119,6 +119,10 @@ declare const ListOpportunitiesCommand_base: {
|
|
|
119
119
|
* // EstimationUrl: "STRING_VALUE",
|
|
120
120
|
* // },
|
|
121
121
|
* // ],
|
|
122
|
+
* // ExpectedContractDuration: { // ExpectedContractDuration
|
|
123
|
+
* // Term: "Months", // required
|
|
124
|
+
* // Value: "STRING_VALUE", // required
|
|
125
|
+
* // },
|
|
122
126
|
* // },
|
|
123
127
|
* // },
|
|
124
128
|
* // ],
|
|
@@ -84,6 +84,10 @@ declare const UpdateOpportunityCommand_base: {
|
|
|
84
84
|
* EstimationUrl: "STRING_VALUE",
|
|
85
85
|
* },
|
|
86
86
|
* ],
|
|
87
|
+
* ExpectedContractDuration: { // ExpectedContractDuration
|
|
88
|
+
* Term: "Months", // required
|
|
89
|
+
* Value: "STRING_VALUE", // required
|
|
90
|
+
* },
|
|
87
91
|
* Title: "STRING_VALUE",
|
|
88
92
|
* ApnPrograms: [ // ApnPrograms
|
|
89
93
|
* "STRING_VALUE",
|
|
@@ -1087,6 +1087,17 @@ export declare const DeliveryModel: {
|
|
|
1087
1087
|
* @public
|
|
1088
1088
|
*/
|
|
1089
1089
|
export type DeliveryModel = (typeof DeliveryModel)[keyof typeof DeliveryModel];
|
|
1090
|
+
/**
|
|
1091
|
+
* @public
|
|
1092
|
+
* @enum
|
|
1093
|
+
*/
|
|
1094
|
+
export declare const ExpectedContractDurationTerm: {
|
|
1095
|
+
readonly MONTHS: "Months";
|
|
1096
|
+
};
|
|
1097
|
+
/**
|
|
1098
|
+
* @public
|
|
1099
|
+
*/
|
|
1100
|
+
export type ExpectedContractDurationTerm = (typeof ExpectedContractDurationTerm)[keyof typeof ExpectedContractDurationTerm];
|
|
1090
1101
|
/**
|
|
1091
1102
|
* @public
|
|
1092
1103
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AwsClosedLostReason, AwsFundingUsed, AwsMemberBusinessTitle, AwsOpportunityStage, AwsPartition, Channel, ClosedLostReason, CompetitorName, CountryCode, CurrencyCode, DeliveryModel, EngagementContextType, EngagementInvitationPayloadType, EngagementScore, EngagementSortName, Industry, InvitationStatus, InvolvementTypeChangeReason, ListTasksSortName, MarketingSource, MarketSegment, NationalSecurity, OpportunityEngagementInvitationSortName, OpportunityOrigin, OpportunitySortName, OpportunityType, ParticipantType, PaymentFrequency, PrimaryNeedFromAws, ReasonCode, ReceiverResponsibility, RelatedEntityType, ResourceSnapshotJobStatus, ResourceType, RevenueModel, ReviewStatus, SalesActivity, SalesInvolvementType, SolutionSortName, SolutionStatus, SortBy, SortOrder, Stage, TaskStatus, ValidationExceptionErrorCode, Visibility } from "./enums";
|
|
1
|
+
import type { AwsClosedLostReason, AwsFundingUsed, AwsMemberBusinessTitle, AwsOpportunityStage, AwsPartition, Channel, ClosedLostReason, CompetitorName, CountryCode, CurrencyCode, DeliveryModel, EngagementContextType, EngagementInvitationPayloadType, EngagementScore, EngagementSortName, ExpectedContractDurationTerm, Industry, InvitationStatus, InvolvementTypeChangeReason, ListTasksSortName, MarketingSource, MarketSegment, NationalSecurity, OpportunityEngagementInvitationSortName, OpportunityOrigin, OpportunitySortName, OpportunityType, ParticipantType, PaymentFrequency, PrimaryNeedFromAws, ReasonCode, ReceiverResponsibility, RelatedEntityType, ResourceSnapshotJobStatus, ResourceType, RevenueModel, ReviewStatus, SalesActivity, SalesInvolvementType, SolutionSortName, SolutionStatus, SortBy, SortOrder, Stage, TaskStatus, ValidationExceptionErrorCode, Visibility } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -491,7 +491,7 @@ export interface ExpectedCustomerSpend {
|
|
|
491
491
|
*/
|
|
492
492
|
Amount?: string | undefined;
|
|
493
493
|
/**
|
|
494
|
-
*
|
|
494
|
+
* <p>Indicates the currency in which the revenue estimate is provided. This helps in understanding the financial impact across different markets. Accepted values are <code>USD</code> (US Dollars) and <code>EUR</code> (Euros). If the AWS Partition is <code>aws-eusc</code> (AWS European Sovereign Cloud), the currency code must be <code>EUR</code>.</p>
|
|
495
495
|
* @public
|
|
496
496
|
*/
|
|
497
497
|
CurrencyCode: CurrencyCode | undefined;
|
|
@@ -2448,6 +2448,22 @@ export interface Marketing {
|
|
|
2448
2448
|
*/
|
|
2449
2449
|
AwsFundingUsed?: AwsFundingUsed | undefined;
|
|
2450
2450
|
}
|
|
2451
|
+
/**
|
|
2452
|
+
* <p>The expected duration of a partner's contract with the customer. Used to convert Total Contract Value (TCV) to Monthly Recurring Revenue (MRR) for opportunity dealsizing calculations.</p>
|
|
2453
|
+
* @public
|
|
2454
|
+
*/
|
|
2455
|
+
export interface ExpectedContractDuration {
|
|
2456
|
+
/**
|
|
2457
|
+
* <p>The unit of measurement for the contract duration value. Currently accepts only <code>Months</code>.</p>
|
|
2458
|
+
* @public
|
|
2459
|
+
*/
|
|
2460
|
+
Term: ExpectedContractDurationTerm | undefined;
|
|
2461
|
+
/**
|
|
2462
|
+
* <p>A String representation of the contract duration as an integer, expressed in the unit defined by <code>Term</code>. Valid values range from <code>1</code> to <code>144</code>.</p>
|
|
2463
|
+
* @public
|
|
2464
|
+
*/
|
|
2465
|
+
Value: string | undefined;
|
|
2466
|
+
}
|
|
2451
2467
|
/**
|
|
2452
2468
|
* <p>An object that contains the <code>Opportunity</code>'s project details.</p>
|
|
2453
2469
|
* @public
|
|
@@ -2463,6 +2479,11 @@ export interface Project {
|
|
|
2463
2479
|
* @public
|
|
2464
2480
|
*/
|
|
2465
2481
|
ExpectedCustomerSpend?: ExpectedCustomerSpend[] | undefined;
|
|
2482
|
+
/**
|
|
2483
|
+
* <p>Optional. The expected duration of the contract associated with this opportunity. Partners use this value alongside expected customer spend to convert Total Contract Value (TCV) into Monthly Recurring Revenue (MRR).</p>
|
|
2484
|
+
* @public
|
|
2485
|
+
*/
|
|
2486
|
+
ExpectedContractDuration?: ExpectedContractDuration | undefined;
|
|
2466
2487
|
/**
|
|
2467
2488
|
* <p>Specifies the <code>Opportunity</code>'s title or name.</p>
|
|
2468
2489
|
* @public
|
|
@@ -3078,6 +3099,11 @@ export interface ProjectSummary {
|
|
|
3078
3099
|
* @public
|
|
3079
3100
|
*/
|
|
3080
3101
|
ExpectedCustomerSpend?: ExpectedCustomerSpend[] | undefined;
|
|
3102
|
+
/**
|
|
3103
|
+
* <p>Optional. The expected contract duration for this opportunity, representing the anticipated length of the contract in the unit specified by <code>Term</code>.</p>
|
|
3104
|
+
* @public
|
|
3105
|
+
*/
|
|
3106
|
+
ExpectedContractDuration?: ExpectedContractDuration | undefined;
|
|
3081
3107
|
}
|
|
3082
3108
|
/**
|
|
3083
3109
|
* <p>An object that contains an <code>Opportunity</code>'s subset of fields.</p>
|
|
@@ -3617,6 +3643,11 @@ export interface ProjectView {
|
|
|
3617
3643
|
* @public
|
|
3618
3644
|
*/
|
|
3619
3645
|
ExpectedCustomerSpend?: ExpectedCustomerSpend[] | undefined;
|
|
3646
|
+
/**
|
|
3647
|
+
* <p>Optional. The expected contract duration for this opportunity, representing the anticipated length of the contract in the unit specified by <code>Term</code>.</p>
|
|
3648
|
+
* @public
|
|
3649
|
+
*/
|
|
3650
|
+
ExpectedContractDuration?: ExpectedContractDuration | undefined;
|
|
3620
3651
|
/**
|
|
3621
3652
|
* <p> Specifies the proposed solution focus or type of workload for the project. </p>
|
|
3622
3653
|
* @public
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PartnerCentralSellingClientConfi
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: PartnerCentralSellingClientConfi
|
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
12
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
12
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
15
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
@@ -26,7 +26,7 @@ export declare const getRuntimeConfig: (config: PartnerCentralSellingClientConfi
|
|
|
26
26
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
27
|
region: string | import("@smithy/types").Provider<any>;
|
|
28
28
|
profile?: string;
|
|
29
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
29
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
30
30
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
31
31
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -63,6 +63,7 @@ export declare var EngagementMemberSummary$: StaticStructureSchema;
|
|
|
63
63
|
export declare var EngagementResourceAssociationSummary$: StaticStructureSchema;
|
|
64
64
|
export declare var EngagementSort$: StaticStructureSchema;
|
|
65
65
|
export declare var EngagementSummary$: StaticStructureSchema;
|
|
66
|
+
export declare var ExpectedContractDuration$: StaticStructureSchema;
|
|
66
67
|
export declare var ExpectedCustomerSpend$: StaticStructureSchema;
|
|
67
68
|
export declare var GetAwsOpportunitySummaryRequest$: StaticStructureSchema;
|
|
68
69
|
export declare var GetAwsOpportunitySummaryResponse$: StaticStructureSchema;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HostHeaderInputConfig,
|
|
3
3
|
HostHeaderResolvedConfig,
|
|
4
|
-
} from "@aws-sdk/middleware-host-header";
|
|
5
|
-
import {
|
|
6
4
|
UserAgentInputConfig,
|
|
7
5
|
UserAgentResolvedConfig,
|
|
8
|
-
} from "@aws-sdk/
|
|
6
|
+
} from "@aws-sdk/core/client";
|
|
9
7
|
import {
|
|
10
8
|
DefaultsMode as __DefaultsMode,
|
|
11
9
|
SmithyConfiguration as __SmithyConfiguration,
|
|
@@ -834,6 +834,11 @@ export declare const DeliveryModel: {
|
|
|
834
834
|
readonly SAAS_OR_PAAS: "SaaS or PaaS";
|
|
835
835
|
};
|
|
836
836
|
export type DeliveryModel = (typeof DeliveryModel)[keyof typeof DeliveryModel];
|
|
837
|
+
export declare const ExpectedContractDurationTerm: {
|
|
838
|
+
readonly MONTHS: "Months";
|
|
839
|
+
};
|
|
840
|
+
export type ExpectedContractDurationTerm =
|
|
841
|
+
(typeof ExpectedContractDurationTerm)[keyof typeof ExpectedContractDurationTerm];
|
|
837
842
|
export declare const SalesActivity: {
|
|
838
843
|
readonly AGREED_ON_SOLUTION_TO_BUSINESS_PROBLEM: "Agreed on solution to Business Problem";
|
|
839
844
|
readonly COMPLETED_ACTION_PLAN: "Completed Action Plan";
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
EngagementInvitationPayloadType,
|
|
15
15
|
EngagementScore,
|
|
16
16
|
EngagementSortName,
|
|
17
|
+
ExpectedContractDurationTerm,
|
|
17
18
|
Industry,
|
|
18
19
|
InvitationStatus,
|
|
19
20
|
InvolvementTypeChangeReason,
|
|
@@ -653,9 +654,14 @@ export interface Marketing {
|
|
|
653
654
|
Channels?: Channel[] | undefined;
|
|
654
655
|
AwsFundingUsed?: AwsFundingUsed | undefined;
|
|
655
656
|
}
|
|
657
|
+
export interface ExpectedContractDuration {
|
|
658
|
+
Term: ExpectedContractDurationTerm | undefined;
|
|
659
|
+
Value: string | undefined;
|
|
660
|
+
}
|
|
656
661
|
export interface Project {
|
|
657
662
|
DeliveryModels?: DeliveryModel[] | undefined;
|
|
658
663
|
ExpectedCustomerSpend?: ExpectedCustomerSpend[] | undefined;
|
|
664
|
+
ExpectedContractDuration?: ExpectedContractDuration | undefined;
|
|
659
665
|
Title?: string | undefined;
|
|
660
666
|
ApnPrograms?: string[] | undefined;
|
|
661
667
|
CustomerBusinessProblem?: string | undefined;
|
|
@@ -795,6 +801,7 @@ export interface LifeCycleSummary {
|
|
|
795
801
|
export interface ProjectSummary {
|
|
796
802
|
DeliveryModels?: DeliveryModel[] | undefined;
|
|
797
803
|
ExpectedCustomerSpend?: ExpectedCustomerSpend[] | undefined;
|
|
804
|
+
ExpectedContractDuration?: ExpectedContractDuration | undefined;
|
|
798
805
|
}
|
|
799
806
|
export interface OpportunitySummary {
|
|
800
807
|
Catalog: string | undefined;
|
|
@@ -919,6 +926,7 @@ export interface LifeCycleForView {
|
|
|
919
926
|
export interface ProjectView {
|
|
920
927
|
DeliveryModels?: DeliveryModel[] | undefined;
|
|
921
928
|
ExpectedCustomerSpend?: ExpectedCustomerSpend[] | undefined;
|
|
929
|
+
ExpectedContractDuration?: ExpectedContractDuration | undefined;
|
|
922
930
|
CustomerUseCase?: string | undefined;
|
|
923
931
|
SalesActivities?: SalesActivity[] | undefined;
|
|
924
932
|
OtherSolutionDescription?: string | undefined;
|
|
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (
|
|
|
14
14
|
_: unknown
|
|
15
15
|
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
16
16
|
defaultUserAgentProvider: (
|
|
17
|
-
config?: import("@aws-sdk/
|
|
17
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
18
18
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
19
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
20
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -15,7 +15,7 @@ export declare const getRuntimeConfig: (
|
|
|
15
15
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
16
|
) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
17
|
defaultUserAgentProvider: (
|
|
18
|
-
config?: import("@aws-sdk/
|
|
18
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
19
19
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
20
20
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
21
21
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -36,7 +36,7 @@ export declare const getRuntimeConfig: (
|
|
|
36
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
37
37
|
profile?: string;
|
|
38
38
|
defaultUserAgentProvider: (
|
|
39
|
-
config?: import("@aws-sdk/
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
40
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
41
41
|
credentialDefaultProvider:
|
|
42
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
@@ -63,6 +63,7 @@ export declare var EngagementMemberSummary$: StaticStructureSchema;
|
|
|
63
63
|
export declare var EngagementResourceAssociationSummary$: StaticStructureSchema;
|
|
64
64
|
export declare var EngagementSort$: StaticStructureSchema;
|
|
65
65
|
export declare var EngagementSummary$: StaticStructureSchema;
|
|
66
|
+
export declare var ExpectedContractDuration$: StaticStructureSchema;
|
|
66
67
|
export declare var ExpectedCustomerSpend$: StaticStructureSchema;
|
|
67
68
|
export declare var GetAwsOpportunitySummaryRequest$: StaticStructureSchema;
|
|
68
69
|
export declare var GetAwsOpportunitySummaryResponse$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-partnercentral-selling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Partnercentral Selling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1048.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-partnercentral-selling",
|
|
@@ -21,20 +21,12 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.11",
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.12",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.39",
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.14",
|
|
24
|
+
"@aws-sdk/core": "^3.974.11",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.42",
|
|
31
26
|
"@aws-sdk/types": "^3.973.8",
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@smithy/core": "^3.24.1",
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.4.1",
|
|
37
|
-
"@smithy/node-http-handler": "^4.7.1",
|
|
27
|
+
"@smithy/core": "^3.24.2",
|
|
28
|
+
"@smithy/fetch-http-handler": "^5.4.2",
|
|
29
|
+
"@smithy/node-http-handler": "^4.7.2",
|
|
38
30
|
"@smithy/types": "^4.14.1",
|
|
39
31
|
"tslib": "^2.6.2"
|
|
40
32
|
},
|