@aws-sdk/client-marketplace-agreement 3.1016.0 → 3.1017.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/README.md +35 -7
- package/dist-cjs/index.js +84 -0
- package/dist-cjs/models/errors.js +20 -1
- package/dist-cjs/schemas/schemas_0.js +99 -5
- package/dist-es/MarketplaceAgreement.js +10 -0
- package/dist-es/commands/CancelAgreementPaymentRequestCommand.js +16 -0
- package/dist-es/commands/GetAgreementPaymentRequestCommand.js +16 -0
- package/dist-es/commands/ListAgreementPaymentRequestsCommand.js +16 -0
- package/dist-es/commands/SendAgreementPaymentRequestCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +23 -0
- package/dist-es/models/errors.js +18 -0
- package/dist-es/pagination/ListAgreementPaymentRequestsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +98 -5
- package/dist-types/MarketplaceAgreement.d.ts +35 -0
- package/dist-types/MarketplaceAgreementClient.d.ts +6 -2
- package/dist-types/commands/CancelAgreementPaymentRequestCommand.d.ts +101 -0
- package/dist-types/commands/GetAgreementPaymentRequestCommand.d.ts +100 -0
- package/dist-types/commands/ListAgreementPaymentRequestsCommand.d.ts +105 -0
- package/dist-types/commands/SendAgreementPaymentRequestCommand.d.ts +104 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +31 -0
- package/dist-types/models/errors.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +333 -7
- package/dist-types/pagination/ListAgreementPaymentRequestsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +14 -0
- package/dist-types/ts3.4/MarketplaceAgreement.d.ts +75 -0
- package/dist-types/ts3.4/MarketplaceAgreementClient.d.ts +26 -2
- package/dist-types/ts3.4/commands/CancelAgreementPaymentRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAgreementPaymentRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAgreementPaymentRequestsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendAgreementPaymentRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +25 -0
- package/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +78 -3
- package/dist-types/ts3.4/pagination/ListAgreementPaymentRequestsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,16 +22,16 @@ To install this package, use the CLI of your favorite package manager:
|
|
|
22
22
|
|
|
23
23
|
The AWS SDK is modulized by clients and commands.
|
|
24
24
|
To send a request, you only need to import the `MarketplaceAgreementClient` and
|
|
25
|
-
the commands you need, for example `
|
|
25
|
+
the commands you need, for example `ListAgreementPaymentRequestsCommand`:
|
|
26
26
|
|
|
27
27
|
```js
|
|
28
28
|
// ES5 example
|
|
29
|
-
const { MarketplaceAgreementClient,
|
|
29
|
+
const { MarketplaceAgreementClient, ListAgreementPaymentRequestsCommand } = require("@aws-sdk/client-marketplace-agreement");
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
```ts
|
|
33
33
|
// ES6+ example
|
|
34
|
-
import { MarketplaceAgreementClient,
|
|
34
|
+
import { MarketplaceAgreementClient, ListAgreementPaymentRequestsCommand } from "@aws-sdk/client-marketplace-agreement";
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
### Usage
|
|
@@ -48,7 +48,7 @@ To send a request:
|
|
|
48
48
|
const client = new MarketplaceAgreementClient({ region: "REGION" });
|
|
49
49
|
|
|
50
50
|
const params = { /** input parameters */ };
|
|
51
|
-
const command = new
|
|
51
|
+
const command = new ListAgreementPaymentRequestsCommand(params);
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
#### Async/await
|
|
@@ -104,7 +104,7 @@ const client = new MarketplaceAgreement({ region: "REGION" });
|
|
|
104
104
|
|
|
105
105
|
// async/await.
|
|
106
106
|
try {
|
|
107
|
-
const data = await client.
|
|
107
|
+
const data = await client.listAgreementPaymentRequests(params);
|
|
108
108
|
// process data.
|
|
109
109
|
} catch (error) {
|
|
110
110
|
// error handling.
|
|
@@ -112,7 +112,7 @@ try {
|
|
|
112
112
|
|
|
113
113
|
// Promises.
|
|
114
114
|
client
|
|
115
|
-
.
|
|
115
|
+
.listAgreementPaymentRequests(params)
|
|
116
116
|
.then((data) => {
|
|
117
117
|
// process data.
|
|
118
118
|
})
|
|
@@ -121,7 +121,7 @@ client
|
|
|
121
121
|
});
|
|
122
122
|
|
|
123
123
|
// callbacks (not recommended).
|
|
124
|
-
client.
|
|
124
|
+
client.listAgreementPaymentRequests(params, (err, data) => {
|
|
125
125
|
// process err and data.
|
|
126
126
|
});
|
|
127
127
|
```
|
|
@@ -179,6 +179,13 @@ see LICENSE for more information.
|
|
|
179
179
|
|
|
180
180
|
## Client Commands (Operations List)
|
|
181
181
|
|
|
182
|
+
<details>
|
|
183
|
+
<summary>
|
|
184
|
+
CancelAgreementPaymentRequest
|
|
185
|
+
</summary>
|
|
186
|
+
|
|
187
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/CancelAgreementPaymentRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/CancelAgreementPaymentRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/CancelAgreementPaymentRequestCommandOutput/)
|
|
188
|
+
</details>
|
|
182
189
|
<details>
|
|
183
190
|
<summary>
|
|
184
191
|
DescribeAgreement
|
|
@@ -188,6 +195,13 @@ DescribeAgreement
|
|
|
188
195
|
</details>
|
|
189
196
|
<details>
|
|
190
197
|
<summary>
|
|
198
|
+
GetAgreementPaymentRequest
|
|
199
|
+
</summary>
|
|
200
|
+
|
|
201
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/GetAgreementPaymentRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/GetAgreementPaymentRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/GetAgreementPaymentRequestCommandOutput/)
|
|
202
|
+
</details>
|
|
203
|
+
<details>
|
|
204
|
+
<summary>
|
|
191
205
|
GetAgreementTerms
|
|
192
206
|
</summary>
|
|
193
207
|
|
|
@@ -195,8 +209,22 @@ GetAgreementTerms
|
|
|
195
209
|
</details>
|
|
196
210
|
<details>
|
|
197
211
|
<summary>
|
|
212
|
+
ListAgreementPaymentRequests
|
|
213
|
+
</summary>
|
|
214
|
+
|
|
215
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/ListAgreementPaymentRequestsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/ListAgreementPaymentRequestsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/ListAgreementPaymentRequestsCommandOutput/)
|
|
216
|
+
</details>
|
|
217
|
+
<details>
|
|
218
|
+
<summary>
|
|
198
219
|
SearchAgreements
|
|
199
220
|
</summary>
|
|
200
221
|
|
|
201
222
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/SearchAgreementsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/SearchAgreementsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/SearchAgreementsCommandOutput/)
|
|
202
223
|
</details>
|
|
224
|
+
<details>
|
|
225
|
+
<summary>
|
|
226
|
+
SendAgreementPaymentRequest
|
|
227
|
+
</summary>
|
|
228
|
+
|
|
229
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/SendAgreementPaymentRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/SendAgreementPaymentRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/SendAgreementPaymentRequestCommandOutput/)
|
|
230
|
+
</details>
|
package/dist-cjs/index.js
CHANGED
|
@@ -113,6 +113,18 @@ class MarketplaceAgreementClient extends smithyClient.Client {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
class CancelAgreementPaymentRequestCommand extends smithyClient.Command
|
|
117
|
+
.classBuilder()
|
|
118
|
+
.ep(commonParams)
|
|
119
|
+
.m(function (Command, cs, config, o) {
|
|
120
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
121
|
+
})
|
|
122
|
+
.s("AWSMPCommerceService_v20200301", "CancelAgreementPaymentRequest", {})
|
|
123
|
+
.n("MarketplaceAgreementClient", "CancelAgreementPaymentRequestCommand")
|
|
124
|
+
.sc(schemas_0.CancelAgreementPaymentRequest$)
|
|
125
|
+
.build() {
|
|
126
|
+
}
|
|
127
|
+
|
|
116
128
|
class DescribeAgreementCommand extends smithyClient.Command
|
|
117
129
|
.classBuilder()
|
|
118
130
|
.ep(commonParams)
|
|
@@ -125,6 +137,18 @@ class DescribeAgreementCommand extends smithyClient.Command
|
|
|
125
137
|
.build() {
|
|
126
138
|
}
|
|
127
139
|
|
|
140
|
+
class GetAgreementPaymentRequestCommand extends smithyClient.Command
|
|
141
|
+
.classBuilder()
|
|
142
|
+
.ep(commonParams)
|
|
143
|
+
.m(function (Command, cs, config, o) {
|
|
144
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
145
|
+
})
|
|
146
|
+
.s("AWSMPCommerceService_v20200301", "GetAgreementPaymentRequest", {})
|
|
147
|
+
.n("MarketplaceAgreementClient", "GetAgreementPaymentRequestCommand")
|
|
148
|
+
.sc(schemas_0.GetAgreementPaymentRequest$)
|
|
149
|
+
.build() {
|
|
150
|
+
}
|
|
151
|
+
|
|
128
152
|
class GetAgreementTermsCommand extends smithyClient.Command
|
|
129
153
|
.classBuilder()
|
|
130
154
|
.ep(commonParams)
|
|
@@ -137,6 +161,18 @@ class GetAgreementTermsCommand extends smithyClient.Command
|
|
|
137
161
|
.build() {
|
|
138
162
|
}
|
|
139
163
|
|
|
164
|
+
class ListAgreementPaymentRequestsCommand extends smithyClient.Command
|
|
165
|
+
.classBuilder()
|
|
166
|
+
.ep(commonParams)
|
|
167
|
+
.m(function (Command, cs, config, o) {
|
|
168
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
169
|
+
})
|
|
170
|
+
.s("AWSMPCommerceService_v20200301", "ListAgreementPaymentRequests", {})
|
|
171
|
+
.n("MarketplaceAgreementClient", "ListAgreementPaymentRequestsCommand")
|
|
172
|
+
.sc(schemas_0.ListAgreementPaymentRequests$)
|
|
173
|
+
.build() {
|
|
174
|
+
}
|
|
175
|
+
|
|
140
176
|
class SearchAgreementsCommand extends smithyClient.Command
|
|
141
177
|
.classBuilder()
|
|
142
178
|
.ep(commonParams)
|
|
@@ -149,17 +185,36 @@ class SearchAgreementsCommand extends smithyClient.Command
|
|
|
149
185
|
.build() {
|
|
150
186
|
}
|
|
151
187
|
|
|
188
|
+
class SendAgreementPaymentRequestCommand extends smithyClient.Command
|
|
189
|
+
.classBuilder()
|
|
190
|
+
.ep(commonParams)
|
|
191
|
+
.m(function (Command, cs, config, o) {
|
|
192
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
193
|
+
})
|
|
194
|
+
.s("AWSMPCommerceService_v20200301", "SendAgreementPaymentRequest", {})
|
|
195
|
+
.n("MarketplaceAgreementClient", "SendAgreementPaymentRequestCommand")
|
|
196
|
+
.sc(schemas_0.SendAgreementPaymentRequest$)
|
|
197
|
+
.build() {
|
|
198
|
+
}
|
|
199
|
+
|
|
152
200
|
const paginateGetAgreementTerms = core.createPaginator(MarketplaceAgreementClient, GetAgreementTermsCommand, "nextToken", "nextToken", "maxResults");
|
|
153
201
|
|
|
202
|
+
const paginateListAgreementPaymentRequests = core.createPaginator(MarketplaceAgreementClient, ListAgreementPaymentRequestsCommand, "nextToken", "nextToken", "maxResults");
|
|
203
|
+
|
|
154
204
|
const paginateSearchAgreements = core.createPaginator(MarketplaceAgreementClient, SearchAgreementsCommand, "nextToken", "nextToken", "maxResults");
|
|
155
205
|
|
|
156
206
|
const commands = {
|
|
207
|
+
CancelAgreementPaymentRequestCommand,
|
|
157
208
|
DescribeAgreementCommand,
|
|
209
|
+
GetAgreementPaymentRequestCommand,
|
|
158
210
|
GetAgreementTermsCommand,
|
|
211
|
+
ListAgreementPaymentRequestsCommand,
|
|
159
212
|
SearchAgreementsCommand,
|
|
213
|
+
SendAgreementPaymentRequestCommand,
|
|
160
214
|
};
|
|
161
215
|
const paginators = {
|
|
162
216
|
paginateGetAgreementTerms,
|
|
217
|
+
paginateListAgreementPaymentRequests,
|
|
163
218
|
paginateSearchAgreements,
|
|
164
219
|
};
|
|
165
220
|
class MarketplaceAgreement extends MarketplaceAgreementClient {
|
|
@@ -181,19 +236,42 @@ const AgreementStatus = {
|
|
|
181
236
|
SUPERSEDED: "SUPERSEDED",
|
|
182
237
|
TERMINATED: "TERMINATED",
|
|
183
238
|
};
|
|
239
|
+
const PaymentRequestStatus = {
|
|
240
|
+
APPROVED: "APPROVED",
|
|
241
|
+
CANCELLED: "CANCELLED",
|
|
242
|
+
PENDING_APPROVAL: "PENDING_APPROVAL",
|
|
243
|
+
REJECTED: "REJECTED",
|
|
244
|
+
VALIDATING: "VALIDATING",
|
|
245
|
+
VALIDATION_FAILED: "VALIDATION_FAILED",
|
|
246
|
+
};
|
|
184
247
|
const ResourceType = {
|
|
185
248
|
AGREEMENT: "Agreement",
|
|
249
|
+
CHARGE: "Charge",
|
|
250
|
+
PAYMENT_REQUEST: "PaymentRequest",
|
|
186
251
|
};
|
|
187
252
|
const ValidationExceptionReason = {
|
|
188
253
|
INVALID_AGREEMENT_ID: "INVALID_AGREEMENT_ID",
|
|
189
254
|
INVALID_CATALOG: "INVALID_CATALOG",
|
|
255
|
+
INVALID_CHARGE_AMOUNT: "INVALID_CHARGE_AMOUNT",
|
|
256
|
+
INVALID_DESCRIPTION: "INVALID_DESCRIPTION",
|
|
190
257
|
INVALID_FILTER_NAME: "INVALID_FILTER_NAME",
|
|
191
258
|
INVALID_FILTER_VALUES: "INVALID_FILTER_VALUES",
|
|
192
259
|
INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS",
|
|
260
|
+
INVALID_NAME: "INVALID_NAME",
|
|
193
261
|
INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN",
|
|
262
|
+
INVALID_PARTY_TYPE: "INVALID_PARTY_TYPE",
|
|
263
|
+
INVALID_PAYMENT_REQUEST_ID: "INVALID_PAYMENT_REQUEST_ID",
|
|
264
|
+
INVALID_PAYMENT_REQUEST_STATUS: "INVALID_PAYMENT_REQUEST_STATUS",
|
|
265
|
+
INVALID_REJECTION_REASON: "INVALID_REJECTION_REASON",
|
|
194
266
|
INVALID_SORT_BY: "INVALID_SORT_BY",
|
|
195
267
|
INVALID_SORT_ORDER: "INVALID_SORT_ORDER",
|
|
268
|
+
INVALID_TERM_ID: "INVALID_TERM_ID",
|
|
196
269
|
MISSING_AGREEMENT_ID: "MISSING_AGREEMENT_ID",
|
|
270
|
+
MISSING_CHARGE_AMOUNT: "MISSING_CHARGE_AMOUNT",
|
|
271
|
+
MISSING_NAME: "MISSING_NAME",
|
|
272
|
+
MISSING_PARTY_TYPE: "MISSING_PARTY_TYPE",
|
|
273
|
+
MISSING_PAYMENT_REQUEST_ID: "MISSING_PAYMENT_REQUEST_ID",
|
|
274
|
+
MISSING_TERM_ID: "MISSING_TERM_ID",
|
|
197
275
|
OTHER: "OTHER",
|
|
198
276
|
UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS",
|
|
199
277
|
};
|
|
@@ -206,16 +284,22 @@ exports.$Command = smithyClient.Command;
|
|
|
206
284
|
exports.__Client = smithyClient.Client;
|
|
207
285
|
exports.MarketplaceAgreementServiceException = MarketplaceAgreementServiceException.MarketplaceAgreementServiceException;
|
|
208
286
|
exports.AgreementStatus = AgreementStatus;
|
|
287
|
+
exports.CancelAgreementPaymentRequestCommand = CancelAgreementPaymentRequestCommand;
|
|
209
288
|
exports.DescribeAgreementCommand = DescribeAgreementCommand;
|
|
289
|
+
exports.GetAgreementPaymentRequestCommand = GetAgreementPaymentRequestCommand;
|
|
210
290
|
exports.GetAgreementTermsCommand = GetAgreementTermsCommand;
|
|
291
|
+
exports.ListAgreementPaymentRequestsCommand = ListAgreementPaymentRequestsCommand;
|
|
211
292
|
exports.MarketplaceAgreement = MarketplaceAgreement;
|
|
212
293
|
exports.MarketplaceAgreementClient = MarketplaceAgreementClient;
|
|
213
294
|
exports.PaymentRequestApprovalStrategy = PaymentRequestApprovalStrategy;
|
|
295
|
+
exports.PaymentRequestStatus = PaymentRequestStatus;
|
|
214
296
|
exports.ResourceType = ResourceType;
|
|
215
297
|
exports.SearchAgreementsCommand = SearchAgreementsCommand;
|
|
298
|
+
exports.SendAgreementPaymentRequestCommand = SendAgreementPaymentRequestCommand;
|
|
216
299
|
exports.SortOrder = SortOrder;
|
|
217
300
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
218
301
|
exports.paginateGetAgreementTerms = paginateGetAgreementTerms;
|
|
302
|
+
exports.paginateListAgreementPaymentRequests = paginateListAgreementPaymentRequests;
|
|
219
303
|
exports.paginateSearchAgreements = paginateSearchAgreements;
|
|
220
304
|
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
221
305
|
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const MarketplaceAgreementServiceException_1 = require("./MarketplaceAgreementServiceException");
|
|
5
5
|
class AccessDeniedException extends MarketplaceAgreementServiceException_1.MarketplaceAgreementServiceException {
|
|
6
6
|
name = "AccessDeniedException";
|
|
@@ -17,6 +17,25 @@ class AccessDeniedException extends MarketplaceAgreementServiceException_1.Marke
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class ConflictException extends MarketplaceAgreementServiceException_1.MarketplaceAgreementServiceException {
|
|
21
|
+
name = "ConflictException";
|
|
22
|
+
$fault = "client";
|
|
23
|
+
requestId;
|
|
24
|
+
resourceId;
|
|
25
|
+
resourceType;
|
|
26
|
+
constructor(opts) {
|
|
27
|
+
super({
|
|
28
|
+
name: "ConflictException",
|
|
29
|
+
$fault: "client",
|
|
30
|
+
...opts,
|
|
31
|
+
});
|
|
32
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
33
|
+
this.requestId = opts.requestId;
|
|
34
|
+
this.resourceId = opts.resourceId;
|
|
35
|
+
this.resourceType = opts.resourceType;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.ConflictException = ConflictException;
|
|
20
39
|
class InternalServerException extends MarketplaceAgreementServiceException_1.MarketplaceAgreementServiceException {
|
|
21
40
|
name = "InternalServerException";
|
|
22
41
|
$fault = "server";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.SupportTerm$ = exports.Sort$ = exports.SendAgreementPaymentRequestOutput$ = exports.SendAgreementPaymentRequestInput$ = exports.Selector$ = exports.SearchAgreementsOutput$ = exports.SearchAgreementsInput$ = exports.ScheduleItem$ = exports.Resource$ = exports.RenewalTermConfiguration$ = exports.RenewalTerm$ = exports.RecurringPaymentTerm$ = exports.RateCardItem$ = exports.Proposer$ = exports.ProposalSummary$ = exports.PaymentScheduleTerm$ = exports.PaymentRequestSummary$ = exports.ListAgreementPaymentRequestsOutput$ = exports.ListAgreementPaymentRequestsInput$ = exports.LegalTerm$ = exports.GrantItem$ = exports.GetAgreementTermsOutput$ = exports.GetAgreementTermsInput$ = exports.GetAgreementPaymentRequestOutput$ = exports.GetAgreementPaymentRequestInput$ = exports.FreeTrialPricingTerm$ = exports.FixedUpfrontPricingTerm$ = exports.Filter$ = exports.EstimatedCharges$ = exports.DocumentItem$ = exports.Dimension$ = exports.DescribeAgreementOutput$ = exports.DescribeAgreementInput$ = exports.Constraints$ = exports.ConfigurableUpfrontRateCardItem$ = exports.ConfigurableUpfrontPricingTermConfiguration$ = exports.ConfigurableUpfrontPricingTerm$ = exports.CancelAgreementPaymentRequestOutput$ = exports.CancelAgreementPaymentRequestInput$ = exports.ByolPricingTerm$ = exports.AgreementViewSummary$ = exports.Acceptor$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.MarketplaceAgreementServiceException$ = void 0;
|
|
4
|
+
exports.SendAgreementPaymentRequest$ = exports.SearchAgreements$ = exports.ListAgreementPaymentRequests$ = exports.GetAgreementTerms$ = exports.GetAgreementPaymentRequest$ = exports.DescribeAgreement$ = exports.CancelAgreementPaymentRequest$ = exports.AcceptedTerm$ = exports.VariablePaymentTermConfiguration$ = exports.VariablePaymentTerm$ = exports.ValidityTerm$ = exports.ValidationExceptionField$ = exports.UsageBasedRateCardItem$ = exports.UsageBasedPricingTerm$ = void 0;
|
|
4
5
|
const _A = "Acceptor";
|
|
5
6
|
const _ADE = "AccessDeniedException";
|
|
6
7
|
const _AT = "AcceptedTerm";
|
|
@@ -9,6 +10,10 @@ const _AVS = "AgreementViewSummary";
|
|
|
9
10
|
const _AVSL = "AgreementViewSummaryList";
|
|
10
11
|
const _BPT = "ByolPricingTerm";
|
|
11
12
|
const _C = "Constraints";
|
|
13
|
+
const _CAPR = "CancelAgreementPaymentRequest";
|
|
14
|
+
const _CAPRI = "CancelAgreementPaymentRequestInput";
|
|
15
|
+
const _CAPRO = "CancelAgreementPaymentRequestOutput";
|
|
16
|
+
const _CE = "ConflictException";
|
|
12
17
|
const _CUPT = "ConfigurableUpfrontPricingTerm";
|
|
13
18
|
const _CUPTC = "ConfigurableUpfrontPricingTermConfiguration";
|
|
14
19
|
const _CURCI = "ConfigurableUpfrontRateCardItem";
|
|
@@ -25,14 +30,23 @@ const _F = "Filter";
|
|
|
25
30
|
const _FL = "FilterList";
|
|
26
31
|
const _FTPT = "FreeTrialPricingTerm";
|
|
27
32
|
const _FUPT = "FixedUpfrontPricingTerm";
|
|
33
|
+
const _GAPR = "GetAgreementPaymentRequest";
|
|
34
|
+
const _GAPRI = "GetAgreementPaymentRequestInput";
|
|
35
|
+
const _GAPRO = "GetAgreementPaymentRequestOutput";
|
|
28
36
|
const _GAT = "GetAgreementTerms";
|
|
29
37
|
const _GATI = "GetAgreementTermsInput";
|
|
30
38
|
const _GATO = "GetAgreementTermsOutput";
|
|
31
39
|
const _GI = "GrantItem";
|
|
32
40
|
const _GL = "GrantList";
|
|
33
41
|
const _ISE = "InternalServerException";
|
|
42
|
+
const _LAPR = "ListAgreementPaymentRequests";
|
|
43
|
+
const _LAPRI = "ListAgreementPaymentRequestsInput";
|
|
44
|
+
const _LAPRO = "ListAgreementPaymentRequestsOutput";
|
|
34
45
|
const _LT = "LegalTerm";
|
|
35
46
|
const _P = "Proposer";
|
|
47
|
+
const _PRD = "PaymentRequestDescription";
|
|
48
|
+
const _PRS = "PaymentRequestSummary";
|
|
49
|
+
const _PRSL = "PaymentRequestSummaryList";
|
|
36
50
|
const _PS = "ProposalSummary";
|
|
37
51
|
const _PST = "PaymentScheduleTerm";
|
|
38
52
|
const _R = "Resource";
|
|
@@ -47,6 +61,9 @@ const _S = "Selector";
|
|
|
47
61
|
const _SA = "SearchAgreements";
|
|
48
62
|
const _SAI = "SearchAgreementsInput";
|
|
49
63
|
const _SAO = "SearchAgreementsOutput";
|
|
64
|
+
const _SAPR = "SendAgreementPaymentRequest";
|
|
65
|
+
const _SAPRI = "SendAgreementPaymentRequestInput";
|
|
66
|
+
const _SAPRO = "SendAgreementPaymentRequestOutput";
|
|
50
67
|
const _SI = "ScheduleItem";
|
|
51
68
|
const _SL = "ScheduleList";
|
|
52
69
|
const _ST = "SupportTerm";
|
|
@@ -76,15 +93,19 @@ const _bP = "billingPeriod";
|
|
|
76
93
|
const _bPT = "byolPricingTerm";
|
|
77
94
|
const _c = "client";
|
|
78
95
|
const _cA = "chargeAmount";
|
|
96
|
+
const _cAr = "createdAt";
|
|
79
97
|
const _cC = "currencyCode";
|
|
80
98
|
const _cD = "chargeDate";
|
|
99
|
+
const _cI = "chargeId";
|
|
100
|
+
const _cT = "clientToken";
|
|
81
101
|
const _cUPT = "configurableUpfrontPricingTerm";
|
|
82
102
|
const _ca = "catalog";
|
|
83
103
|
const _co = "configuration";
|
|
84
104
|
const _con = "constraints";
|
|
85
|
-
const _d = "
|
|
105
|
+
const _d = "description";
|
|
86
106
|
const _dK = "dimensionKey";
|
|
87
107
|
const _dV = "dimensionValue";
|
|
108
|
+
const _di = "dimensions";
|
|
88
109
|
const _do = "documents";
|
|
89
110
|
const _du = "duration";
|
|
90
111
|
const _e = "error";
|
|
@@ -98,7 +119,8 @@ const _fUPT = "fixedUpfrontPricingTerm";
|
|
|
98
119
|
const _fi = "filters";
|
|
99
120
|
const _g = "grants";
|
|
100
121
|
const _hE = "httpError";
|
|
101
|
-
const _i = "
|
|
122
|
+
const _i = "items";
|
|
123
|
+
const _id = "id";
|
|
102
124
|
const _lT = "legalTerm";
|
|
103
125
|
const _m = "message";
|
|
104
126
|
const _mDS = "multipleDimensionSelection";
|
|
@@ -111,8 +133,10 @@ const _oI = "offerId";
|
|
|
111
133
|
const _oSI = "offerSetId";
|
|
112
134
|
const _p = "proposer";
|
|
113
135
|
const _pRAS = "paymentRequestApprovalStrategy";
|
|
136
|
+
const _pRI = "paymentRequestId";
|
|
114
137
|
const _pS = "proposalSummary";
|
|
115
138
|
const _pST = "paymentScheduleTerm";
|
|
139
|
+
const _pT = "partyType";
|
|
116
140
|
const _pr = "price";
|
|
117
141
|
const _qC = "quantityConfiguration";
|
|
118
142
|
const _r = "reason";
|
|
@@ -127,6 +151,7 @@ const _rTe = "renewalTerm";
|
|
|
127
151
|
const _re = "resources";
|
|
128
152
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.marketplaceagreement";
|
|
129
153
|
const _sB = "sortBy";
|
|
154
|
+
const _sM = "statusMessage";
|
|
130
155
|
const _sO = "sortOrder";
|
|
131
156
|
const _sT = "startTime";
|
|
132
157
|
const _sTu = "supportTerm";
|
|
@@ -137,7 +162,9 @@ const _sel = "selector";
|
|
|
137
162
|
const _so = "sort";
|
|
138
163
|
const _st = "status";
|
|
139
164
|
const _t = "type";
|
|
165
|
+
const _tI = "termId";
|
|
140
166
|
const _u = "url";
|
|
167
|
+
const _uA = "updatedAt";
|
|
141
168
|
const _uBPT = "usageBasedPricingTerm";
|
|
142
169
|
const _v = "version";
|
|
143
170
|
const _vPT = "variablePaymentTerm";
|
|
@@ -158,6 +185,12 @@ exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
|
158
185
|
[0, 0]
|
|
159
186
|
];
|
|
160
187
|
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
188
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
189
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
190
|
+
[_rI, _m, _rIe, _rT],
|
|
191
|
+
[0, 0, 0, 0]
|
|
192
|
+
];
|
|
193
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
161
194
|
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
162
195
|
{ [_e]: _se, [_hE]: 500 },
|
|
163
196
|
[_rI, _m],
|
|
@@ -186,6 +219,7 @@ exports.errorTypeRegistries = [
|
|
|
186
219
|
_s_registry,
|
|
187
220
|
n0_registry,
|
|
188
221
|
];
|
|
222
|
+
var PaymentRequestDescription = [0, n0, _PRD, 8, 0];
|
|
189
223
|
exports.Acceptor$ = [3, n0, _A,
|
|
190
224
|
0,
|
|
191
225
|
[_aI],
|
|
@@ -201,6 +235,16 @@ exports.ByolPricingTerm$ = [3, n0, _BPT,
|
|
|
201
235
|
[_t],
|
|
202
236
|
[0]
|
|
203
237
|
];
|
|
238
|
+
exports.CancelAgreementPaymentRequestInput$ = [3, n0, _CAPRI,
|
|
239
|
+
0,
|
|
240
|
+
[_pRI, _aIg],
|
|
241
|
+
[0, 0], 2
|
|
242
|
+
];
|
|
243
|
+
exports.CancelAgreementPaymentRequestOutput$ = [3, n0, _CAPRO,
|
|
244
|
+
0,
|
|
245
|
+
[_pRI, _aIg, _st, _n, _d, _cA, _cC, _cAr, _uA],
|
|
246
|
+
[0, 0, 0, 0, [() => PaymentRequestDescription, 0], 0, 0, 4, 4]
|
|
247
|
+
];
|
|
204
248
|
exports.ConfigurableUpfrontPricingTerm$ = [3, n0, _CUPT,
|
|
205
249
|
0,
|
|
206
250
|
[_t, _cC, _rC, _co],
|
|
@@ -208,7 +252,7 @@ exports.ConfigurableUpfrontPricingTerm$ = [3, n0, _CUPT,
|
|
|
208
252
|
];
|
|
209
253
|
exports.ConfigurableUpfrontPricingTermConfiguration$ = [3, n0, _CUPTC,
|
|
210
254
|
0,
|
|
211
|
-
[_sV,
|
|
255
|
+
[_sV, _di],
|
|
212
256
|
[0, () => DimensionList], 2
|
|
213
257
|
];
|
|
214
258
|
exports.ConfigurableUpfrontRateCardItem$ = [3, n0, _CURCI,
|
|
@@ -261,6 +305,16 @@ exports.FreeTrialPricingTerm$ = [3, n0, _FTPT,
|
|
|
261
305
|
[_t, _du, _g],
|
|
262
306
|
[0, 0, () => GrantList]
|
|
263
307
|
];
|
|
308
|
+
exports.GetAgreementPaymentRequestInput$ = [3, n0, _GAPRI,
|
|
309
|
+
0,
|
|
310
|
+
[_pRI, _aIg],
|
|
311
|
+
[0, 0], 2
|
|
312
|
+
];
|
|
313
|
+
exports.GetAgreementPaymentRequestOutput$ = [3, n0, _GAPRO,
|
|
314
|
+
0,
|
|
315
|
+
[_pRI, _aIg, _st, _sM, _n, _d, _cI, _cA, _cC, _cAr, _uA],
|
|
316
|
+
[0, 0, 0, 0, 0, [() => PaymentRequestDescription, 0], 0, 0, 0, 4, 4]
|
|
317
|
+
];
|
|
264
318
|
exports.GetAgreementTermsInput$ = [3, n0, _GATI,
|
|
265
319
|
0,
|
|
266
320
|
[_aIg, _mR, _nT],
|
|
@@ -281,6 +335,21 @@ exports.LegalTerm$ = [3, n0, _LT,
|
|
|
281
335
|
[_t, _do],
|
|
282
336
|
[0, () => DocumentList]
|
|
283
337
|
];
|
|
338
|
+
exports.ListAgreementPaymentRequestsInput$ = [3, n0, _LAPRI,
|
|
339
|
+
0,
|
|
340
|
+
[_pT, _aTg, _ca, _aIg, _st, _mR, _nT],
|
|
341
|
+
[0, 0, 0, 0, 0, 1, 0], 1
|
|
342
|
+
];
|
|
343
|
+
exports.ListAgreementPaymentRequestsOutput$ = [3, n0, _LAPRO,
|
|
344
|
+
0,
|
|
345
|
+
[_i, _nT],
|
|
346
|
+
[() => PaymentRequestSummaryList, 0], 1
|
|
347
|
+
];
|
|
348
|
+
exports.PaymentRequestSummary$ = [3, n0, _PRS,
|
|
349
|
+
0,
|
|
350
|
+
[_pRI, _aIg, _st, _n, _cI, _cA, _cC, _cAr, _uA],
|
|
351
|
+
[0, 0, 0, 0, 0, 0, 0, 4, 4]
|
|
352
|
+
];
|
|
284
353
|
exports.PaymentScheduleTerm$ = [3, n0, _PST,
|
|
285
354
|
0,
|
|
286
355
|
[_t, _cC, _sc],
|
|
@@ -318,7 +387,7 @@ exports.RenewalTermConfiguration$ = [3, n0, _RTC,
|
|
|
318
387
|
];
|
|
319
388
|
exports.Resource$ = [3, n0, _R,
|
|
320
389
|
0,
|
|
321
|
-
[
|
|
390
|
+
[_id, _t],
|
|
322
391
|
[0, 0]
|
|
323
392
|
];
|
|
324
393
|
exports.ScheduleItem$ = [3, n0, _SI,
|
|
@@ -341,6 +410,16 @@ exports.Selector$ = [3, n0, _S,
|
|
|
341
410
|
[_t, _val],
|
|
342
411
|
[0, 0]
|
|
343
412
|
];
|
|
413
|
+
exports.SendAgreementPaymentRequestInput$ = [3, n0, _SAPRI,
|
|
414
|
+
0,
|
|
415
|
+
[_aIg, _tI, _n, _cA, _cT, _d],
|
|
416
|
+
[0, 0, 0, 0, [0, 4], [() => PaymentRequestDescription, 0]], 4
|
|
417
|
+
];
|
|
418
|
+
exports.SendAgreementPaymentRequestOutput$ = [3, n0, _SAPRO,
|
|
419
|
+
0,
|
|
420
|
+
[_pRI, _aIg, _st, _n, _d, _cA, _cC, _cAr],
|
|
421
|
+
[0, 0, 0, 0, [() => PaymentRequestDescription, 0], 0, 0, 4]
|
|
422
|
+
];
|
|
344
423
|
exports.Sort$ = [3, n0, _So,
|
|
345
424
|
0,
|
|
346
425
|
[_sB, _sO],
|
|
@@ -403,6 +482,9 @@ var FilterValueList = 64 | 0;
|
|
|
403
482
|
var GrantList = [1, n0, _GL,
|
|
404
483
|
0, () => exports.GrantItem$
|
|
405
484
|
];
|
|
485
|
+
var PaymentRequestSummaryList = [1, n0, _PRSL,
|
|
486
|
+
0, () => exports.PaymentRequestSummary$
|
|
487
|
+
];
|
|
406
488
|
var RateCardList = [1, n0, _RCL,
|
|
407
489
|
0, () => exports.RateCardItem$
|
|
408
490
|
];
|
|
@@ -423,12 +505,24 @@ exports.AcceptedTerm$ = [4, n0, _AT,
|
|
|
423
505
|
[_lT, _sTu, _rTe, _uBPT, _cUPT, _bPT, _rPT, _vT, _pST, _fTPT, _fUPT, _vPT],
|
|
424
506
|
[() => exports.LegalTerm$, () => exports.SupportTerm$, () => exports.RenewalTerm$, () => exports.UsageBasedPricingTerm$, () => exports.ConfigurableUpfrontPricingTerm$, () => exports.ByolPricingTerm$, () => exports.RecurringPaymentTerm$, () => exports.ValidityTerm$, () => exports.PaymentScheduleTerm$, () => exports.FreeTrialPricingTerm$, () => exports.FixedUpfrontPricingTerm$, () => exports.VariablePaymentTerm$]
|
|
425
507
|
];
|
|
508
|
+
exports.CancelAgreementPaymentRequest$ = [9, n0, _CAPR,
|
|
509
|
+
0, () => exports.CancelAgreementPaymentRequestInput$, () => exports.CancelAgreementPaymentRequestOutput$
|
|
510
|
+
];
|
|
426
511
|
exports.DescribeAgreement$ = [9, n0, _DA,
|
|
427
512
|
0, () => exports.DescribeAgreementInput$, () => exports.DescribeAgreementOutput$
|
|
428
513
|
];
|
|
514
|
+
exports.GetAgreementPaymentRequest$ = [9, n0, _GAPR,
|
|
515
|
+
0, () => exports.GetAgreementPaymentRequestInput$, () => exports.GetAgreementPaymentRequestOutput$
|
|
516
|
+
];
|
|
429
517
|
exports.GetAgreementTerms$ = [9, n0, _GAT,
|
|
430
518
|
0, () => exports.GetAgreementTermsInput$, () => exports.GetAgreementTermsOutput$
|
|
431
519
|
];
|
|
520
|
+
exports.ListAgreementPaymentRequests$ = [9, n0, _LAPR,
|
|
521
|
+
0, () => exports.ListAgreementPaymentRequestsInput$, () => exports.ListAgreementPaymentRequestsOutput$
|
|
522
|
+
];
|
|
432
523
|
exports.SearchAgreements$ = [9, n0, _SA,
|
|
433
524
|
0, () => exports.SearchAgreementsInput$, () => exports.SearchAgreementsOutput$
|
|
434
525
|
];
|
|
526
|
+
exports.SendAgreementPaymentRequest$ = [9, n0, _SAPR,
|
|
527
|
+
0, () => exports.SendAgreementPaymentRequestInput$, () => exports.SendAgreementPaymentRequestOutput$
|
|
528
|
+
];
|
|
@@ -1,17 +1,27 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
|
+
import { CancelAgreementPaymentRequestCommand, } from "./commands/CancelAgreementPaymentRequestCommand";
|
|
2
3
|
import { DescribeAgreementCommand, } from "./commands/DescribeAgreementCommand";
|
|
4
|
+
import { GetAgreementPaymentRequestCommand, } from "./commands/GetAgreementPaymentRequestCommand";
|
|
3
5
|
import { GetAgreementTermsCommand, } from "./commands/GetAgreementTermsCommand";
|
|
6
|
+
import { ListAgreementPaymentRequestsCommand, } from "./commands/ListAgreementPaymentRequestsCommand";
|
|
4
7
|
import { SearchAgreementsCommand, } from "./commands/SearchAgreementsCommand";
|
|
8
|
+
import { SendAgreementPaymentRequestCommand, } from "./commands/SendAgreementPaymentRequestCommand";
|
|
5
9
|
import { MarketplaceAgreementClient } from "./MarketplaceAgreementClient";
|
|
6
10
|
import { paginateGetAgreementTerms } from "./pagination/GetAgreementTermsPaginator";
|
|
11
|
+
import { paginateListAgreementPaymentRequests } from "./pagination/ListAgreementPaymentRequestsPaginator";
|
|
7
12
|
import { paginateSearchAgreements } from "./pagination/SearchAgreementsPaginator";
|
|
8
13
|
const commands = {
|
|
14
|
+
CancelAgreementPaymentRequestCommand,
|
|
9
15
|
DescribeAgreementCommand,
|
|
16
|
+
GetAgreementPaymentRequestCommand,
|
|
10
17
|
GetAgreementTermsCommand,
|
|
18
|
+
ListAgreementPaymentRequestsCommand,
|
|
11
19
|
SearchAgreementsCommand,
|
|
20
|
+
SendAgreementPaymentRequestCommand,
|
|
12
21
|
};
|
|
13
22
|
const paginators = {
|
|
14
23
|
paginateGetAgreementTerms,
|
|
24
|
+
paginateListAgreementPaymentRequests,
|
|
15
25
|
paginateSearchAgreements,
|
|
16
26
|
};
|
|
17
27
|
export class MarketplaceAgreement extends MarketplaceAgreementClient {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CancelAgreementPaymentRequest$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CancelAgreementPaymentRequestCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSMPCommerceService_v20200301", "CancelAgreementPaymentRequest", {})
|
|
13
|
+
.n("MarketplaceAgreementClient", "CancelAgreementPaymentRequestCommand")
|
|
14
|
+
.sc(CancelAgreementPaymentRequest$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetAgreementPaymentRequest$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetAgreementPaymentRequestCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSMPCommerceService_v20200301", "GetAgreementPaymentRequest", {})
|
|
13
|
+
.n("MarketplaceAgreementClient", "GetAgreementPaymentRequestCommand")
|
|
14
|
+
.sc(GetAgreementPaymentRequest$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListAgreementPaymentRequests$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListAgreementPaymentRequestsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSMPCommerceService_v20200301", "ListAgreementPaymentRequests", {})
|
|
13
|
+
.n("MarketplaceAgreementClient", "ListAgreementPaymentRequestsCommand")
|
|
14
|
+
.sc(ListAgreementPaymentRequests$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { SendAgreementPaymentRequest$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class SendAgreementPaymentRequestCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSMPCommerceService_v20200301", "SendAgreementPaymentRequest", {})
|
|
13
|
+
.n("MarketplaceAgreementClient", "SendAgreementPaymentRequestCommand")
|
|
14
|
+
.sc(SendAgreementPaymentRequest$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export * from "./CancelAgreementPaymentRequestCommand";
|
|
1
2
|
export * from "./DescribeAgreementCommand";
|
|
3
|
+
export * from "./GetAgreementPaymentRequestCommand";
|
|
2
4
|
export * from "./GetAgreementTermsCommand";
|
|
5
|
+
export * from "./ListAgreementPaymentRequestsCommand";
|
|
3
6
|
export * from "./SearchAgreementsCommand";
|
|
7
|
+
export * from "./SendAgreementPaymentRequestCommand";
|