@aws-sdk/client-partnercentral-selling 3.864.0 → 3.867.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/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +1 -0
- package/dist-types/commands/CreateOpportunityCommand.d.ts +6 -0
- package/dist-types/commands/ListOpportunitiesCommand.d.ts +1 -1
- package/dist-types/commands/StartEngagementFromOpportunityTaskCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +9 -4
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1010,6 +1010,7 @@ const AwsOpportunityLifeCycleFilterSensitiveLog = (obj) => ({
|
|
|
1010
1010
|
exports.AwsOpportunityLifeCycleFilterSensitiveLog = AwsOpportunityLifeCycleFilterSensitiveLog;
|
|
1011
1011
|
const ExpectedCustomerSpendFilterSensitiveLog = (obj) => ({
|
|
1012
1012
|
...obj,
|
|
1013
|
+
...(obj.Amount && { Amount: smithy_client_1.SENSITIVE_STRING }),
|
|
1013
1014
|
...(obj.CurrencyCode && { CurrencyCode: smithy_client_1.SENSITIVE_STRING }),
|
|
1014
1015
|
...(obj.EstimationUrl && { EstimationUrl: smithy_client_1.SENSITIVE_STRING }),
|
|
1015
1016
|
});
|
|
@@ -911,6 +911,7 @@ const se_CreateOpportunityRequest = (input, context) => {
|
|
|
911
911
|
PrimaryNeedsFromAws: smithy_client_1._json,
|
|
912
912
|
Project: smithy_client_1._json,
|
|
913
913
|
SoftwareRevenue: smithy_client_1._json,
|
|
914
|
+
Tags: smithy_client_1._json,
|
|
914
915
|
});
|
|
915
916
|
};
|
|
916
917
|
const se_CreateResourceSnapshotJobRequest = (input, context) => {
|
|
@@ -988,6 +988,7 @@ export const AwsOpportunityLifeCycleFilterSensitiveLog = (obj) => ({
|
|
|
988
988
|
});
|
|
989
989
|
export const ExpectedCustomerSpendFilterSensitiveLog = (obj) => ({
|
|
990
990
|
...obj,
|
|
991
|
+
...(obj.Amount && { Amount: SENSITIVE_STRING }),
|
|
991
992
|
...(obj.CurrencyCode && { CurrencyCode: SENSITIVE_STRING }),
|
|
992
993
|
...(obj.EstimationUrl && { EstimationUrl: SENSITIVE_STRING }),
|
|
993
994
|
});
|
|
@@ -142,6 +142,12 @@ declare const CreateOpportunityCommand_base: {
|
|
|
142
142
|
* Phone: "STRING_VALUE",
|
|
143
143
|
* },
|
|
144
144
|
* ],
|
|
145
|
+
* Tags: [ // TagList
|
|
146
|
+
* { // Tag
|
|
147
|
+
* Key: "STRING_VALUE", // required
|
|
148
|
+
* Value: "STRING_VALUE", // required
|
|
149
|
+
* },
|
|
150
|
+
* ],
|
|
145
151
|
* };
|
|
146
152
|
* const command = new CreateOpportunityCommand(input);
|
|
147
153
|
* const response = await client.send(command);
|
|
@@ -27,7 +27,7 @@ declare const ListOpportunitiesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This request accepts a list of filters that retrieve opportunity subsets as well as sort options. This feature is available to partners from <a href="https://partnercentral.awspartner.com/">Partner Central</a> using the <code>ListOpportunities</code> API action.</p> <p>To synchronize your system with Amazon Web Services, only
|
|
30
|
+
* <p>This request accepts a list of filters that retrieve opportunity subsets as well as sort options. This feature is available to partners from <a href="https://partnercentral.awspartner.com/">Partner Central</a> using the <code>ListOpportunities</code> API action.</p> <p>To synchronize your system with Amazon Web Services, list only the opportunities that were newly created or updated. We recommend you rely on events emitted by the service into your Amazon Web Services account’s Amazon EventBridge default event bus. You can also use the <code>ListOpportunities</code> action.</p> <p>We recommend the following approach:</p> <ol> <li> <p>Find the latest <code>LastModifiedDate</code> that you stored, and only use the values that came from Amazon Web Services. Don’t use values generated by your system.</p> </li> <li> <p>When you send a <code>ListOpportunities</code> request, submit the date in ISO 8601 format in the <code>AfterLastModifiedDate</code> filter.</p> </li> <li> <p>Amazon Web Services only returns opportunities created or updated on or after that date and time. Use <code>NextToken</code> to iterate over all pages.</p> </li> </ol>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const StartEngagementFromOpportunityTaskCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This action
|
|
30
|
+
* <p>Similar to <code>StartEngagementByAcceptingInvitationTask</code>, this action is asynchronous and performs multiple steps before completion. This action orchestrates a comprehensive workflow that combines multiple API operations into a single task to create and initiate an engagement from an existing opportunity. It automatically executes a sequence of operations including <code>GetOpportunity</code>, <code>CreateEngagement</code> (if it doesn't exist), <code>CreateResourceSnapshot</code>, <code>CreateResourceSnapshotJob</code>, <code>CreateEngagementInvitation</code> (if not already invited/accepted), and <code>SubmitOpportunity</code>. </p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -1124,12 +1124,12 @@ export interface ExpectedCustomerSpend {
|
|
|
1124
1124
|
*/
|
|
1125
1125
|
CurrencyCode: CurrencyCode | undefined;
|
|
1126
1126
|
/**
|
|
1127
|
-
* <p>Indicates how frequently the customer is expected to spend the projected amount.
|
|
1127
|
+
* <p>Indicates how frequently the customer is expected to spend the projected amount. Only the value <code>Monthly</code> is allowed for the <code>Frequency</code> field, representing recurring monthly spend.</p>
|
|
1128
1128
|
* @public
|
|
1129
1129
|
*/
|
|
1130
1130
|
Frequency: PaymentFrequency | undefined;
|
|
1131
1131
|
/**
|
|
1132
|
-
* <p>Specifies the name of the partner company that is expected to generate revenue from the opportunity. This field helps track the partner’s involvement in the opportunity
|
|
1132
|
+
* <p>Specifies the name of the partner company that is expected to generate revenue from the opportunity. This field helps track the partner’s involvement in the opportunity. This field only accepts the value <code>AWS</code>. If any other value is provided, the system will automatically set it to <code>AWS</code>.</p>
|
|
1133
1133
|
* @public
|
|
1134
1134
|
*/
|
|
1135
1135
|
TargetCompany: string | undefined;
|
|
@@ -2867,12 +2867,12 @@ export interface LifeCycle {
|
|
|
2867
2867
|
*/
|
|
2868
2868
|
ReviewStatus?: ReviewStatus | undefined;
|
|
2869
2869
|
/**
|
|
2870
|
-
* <p>
|
|
2870
|
+
* <p>Contains detailed feedback from Amazon Web Services when requesting additional information from partners. Provides specific guidance on what partners need to provide or clarify for opportunity validation, complementing the <code>ReviewStatusReason</code> field.</p>
|
|
2871
2871
|
* @public
|
|
2872
2872
|
*/
|
|
2873
2873
|
ReviewComments?: string | undefined;
|
|
2874
2874
|
/**
|
|
2875
|
-
* <p>
|
|
2875
|
+
* <p>Code indicating the validation decision during the Amazon Web Services opportunity review. Applies when status is <code>Rejected</code> or <code>Action Required</code>. Used to document validation results for AWS Partner Referrals and indicate when additional information is needed from partners as part of the APN Customer Engagement (ACE) program.</p>
|
|
2876
2876
|
* @public
|
|
2877
2877
|
*/
|
|
2878
2878
|
ReviewStatusReason?: string | undefined;
|
|
@@ -3248,6 +3248,11 @@ export interface CreateOpportunityRequest {
|
|
|
3248
3248
|
* @public
|
|
3249
3249
|
*/
|
|
3250
3250
|
OpportunityTeam?: Contact[] | undefined;
|
|
3251
|
+
/**
|
|
3252
|
+
* <p>A map of the key-value pairs of the tag or tags to assign.</p>
|
|
3253
|
+
* @public
|
|
3254
|
+
*/
|
|
3255
|
+
Tags?: Tag[] | undefined;
|
|
3251
3256
|
}
|
|
3252
3257
|
/**
|
|
3253
3258
|
* @public
|
|
@@ -1391,6 +1391,7 @@ export interface CreateOpportunityRequest {
|
|
|
1391
1391
|
LifeCycle?: LifeCycle | undefined;
|
|
1392
1392
|
Origin?: OpportunityOrigin | undefined;
|
|
1393
1393
|
OpportunityTeam?: Contact[] | undefined;
|
|
1394
|
+
Tags?: Tag[] | undefined;
|
|
1394
1395
|
}
|
|
1395
1396
|
export interface CreateOpportunityResponse {
|
|
1396
1397
|
Id: string | undefined;
|
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.867.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|