@aws-sdk/client-marketplace-agreement 3.758.0 → 3.772.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +26 -35
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AcceptedTerm: () => AcceptedTerm,
25
25
  AccessDeniedException: () => AccessDeniedException,
26
26
  AgreementStatus: () => AgreementStatus,
@@ -41,7 +41,7 @@ __export(src_exports, {
41
41
  paginateGetAgreementTerms: () => paginateGetAgreementTerms,
42
42
  paginateSearchAgreements: () => paginateSearchAgreements
43
43
  });
44
- module.exports = __toCommonJS(src_exports);
44
+ module.exports = __toCommonJS(index_exports);
45
45
 
46
46
  // src/MarketplaceAgreementClient.ts
47
47
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -168,9 +168,9 @@ var MarketplaceAgreementClient = class extends import_smithy_client.Client {
168
168
  this.middlewareStack.use(
169
169
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
170
170
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultMarketplaceAgreementHttpAuthSchemeParametersProvider,
171
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
171
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
172
172
  "aws.auth#sigv4": config.credentials
173
- })
173
+ }), "identityProviderConfigProvider")
174
174
  })
175
175
  );
176
176
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -217,26 +217,17 @@ var MarketplaceAgreementServiceException = class _MarketplaceAgreementServiceExc
217
217
  var AcceptedTerm;
218
218
  ((AcceptedTerm3) => {
219
219
  AcceptedTerm3.visit = /* @__PURE__ */ __name((value, visitor) => {
220
- if (value.legalTerm !== void 0)
221
- return visitor.legalTerm(value.legalTerm);
222
- if (value.supportTerm !== void 0)
223
- return visitor.supportTerm(value.supportTerm);
224
- if (value.renewalTerm !== void 0)
225
- return visitor.renewalTerm(value.renewalTerm);
226
- if (value.usageBasedPricingTerm !== void 0)
227
- return visitor.usageBasedPricingTerm(value.usageBasedPricingTerm);
220
+ if (value.legalTerm !== void 0) return visitor.legalTerm(value.legalTerm);
221
+ if (value.supportTerm !== void 0) return visitor.supportTerm(value.supportTerm);
222
+ if (value.renewalTerm !== void 0) return visitor.renewalTerm(value.renewalTerm);
223
+ if (value.usageBasedPricingTerm !== void 0) return visitor.usageBasedPricingTerm(value.usageBasedPricingTerm);
228
224
  if (value.configurableUpfrontPricingTerm !== void 0)
229
225
  return visitor.configurableUpfrontPricingTerm(value.configurableUpfrontPricingTerm);
230
- if (value.byolPricingTerm !== void 0)
231
- return visitor.byolPricingTerm(value.byolPricingTerm);
232
- if (value.recurringPaymentTerm !== void 0)
233
- return visitor.recurringPaymentTerm(value.recurringPaymentTerm);
234
- if (value.validityTerm !== void 0)
235
- return visitor.validityTerm(value.validityTerm);
236
- if (value.paymentScheduleTerm !== void 0)
237
- return visitor.paymentScheduleTerm(value.paymentScheduleTerm);
238
- if (value.freeTrialPricingTerm !== void 0)
239
- return visitor.freeTrialPricingTerm(value.freeTrialPricingTerm);
226
+ if (value.byolPricingTerm !== void 0) return visitor.byolPricingTerm(value.byolPricingTerm);
227
+ if (value.recurringPaymentTerm !== void 0) return visitor.recurringPaymentTerm(value.recurringPaymentTerm);
228
+ if (value.validityTerm !== void 0) return visitor.validityTerm(value.validityTerm);
229
+ if (value.paymentScheduleTerm !== void 0) return visitor.paymentScheduleTerm(value.paymentScheduleTerm);
230
+ if (value.freeTrialPricingTerm !== void 0) return visitor.freeTrialPricingTerm(value.freeTrialPricingTerm);
240
231
  if (value.fixedUpfrontPricingTerm !== void 0)
241
232
  return visitor.fixedUpfrontPricingTerm(value.fixedUpfrontPricingTerm);
242
233
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -618,14 +609,14 @@ var de_AcceptedTermList = /* @__PURE__ */ __name((output, context) => {
618
609
  }, "de_AcceptedTermList");
619
610
  var de_AgreementViewSummary = /* @__PURE__ */ __name((output, context) => {
620
611
  return (0, import_smithy_client.take)(output, {
621
- acceptanceTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
612
+ acceptanceTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "acceptanceTime"),
622
613
  acceptor: import_smithy_client._json,
623
614
  agreementId: import_smithy_client.expectString,
624
615
  agreementType: import_smithy_client.expectString,
625
- endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
616
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
626
617
  proposalSummary: import_smithy_client._json,
627
618
  proposer: import_smithy_client._json,
628
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
619
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
629
620
  status: import_smithy_client.expectString
630
621
  });
631
622
  }, "de_AgreementViewSummary");
@@ -637,35 +628,35 @@ var de_AgreementViewSummaryList = /* @__PURE__ */ __name((output, context) => {
637
628
  }, "de_AgreementViewSummaryList");
638
629
  var de_DescribeAgreementOutput = /* @__PURE__ */ __name((output, context) => {
639
630
  return (0, import_smithy_client.take)(output, {
640
- acceptanceTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
631
+ acceptanceTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "acceptanceTime"),
641
632
  acceptor: import_smithy_client._json,
642
633
  agreementId: import_smithy_client.expectString,
643
634
  agreementType: import_smithy_client.expectString,
644
- endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
635
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
645
636
  estimatedCharges: import_smithy_client._json,
646
637
  proposalSummary: import_smithy_client._json,
647
638
  proposer: import_smithy_client._json,
648
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
639
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
649
640
  status: import_smithy_client.expectString
650
641
  });
651
642
  }, "de_DescribeAgreementOutput");
652
643
  var de_GetAgreementTermsOutput = /* @__PURE__ */ __name((output, context) => {
653
644
  return (0, import_smithy_client.take)(output, {
654
- acceptedTerms: (_) => de_AcceptedTermList(_, context),
645
+ acceptedTerms: /* @__PURE__ */ __name((_) => de_AcceptedTermList(_, context), "acceptedTerms"),
655
646
  nextToken: import_smithy_client.expectString
656
647
  });
657
648
  }, "de_GetAgreementTermsOutput");
658
649
  var de_PaymentScheduleTerm = /* @__PURE__ */ __name((output, context) => {
659
650
  return (0, import_smithy_client.take)(output, {
660
651
  currencyCode: import_smithy_client.expectString,
661
- schedule: (_) => de_ScheduleList(_, context),
652
+ schedule: /* @__PURE__ */ __name((_) => de_ScheduleList(_, context), "schedule"),
662
653
  type: import_smithy_client.expectString
663
654
  });
664
655
  }, "de_PaymentScheduleTerm");
665
656
  var de_ScheduleItem = /* @__PURE__ */ __name((output, context) => {
666
657
  return (0, import_smithy_client.take)(output, {
667
658
  chargeAmount: import_smithy_client.expectString,
668
- chargeDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
659
+ chargeDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "chargeDate")
669
660
  });
670
661
  }, "de_ScheduleItem");
671
662
  var de_ScheduleList = /* @__PURE__ */ __name((output, context) => {
@@ -676,15 +667,15 @@ var de_ScheduleList = /* @__PURE__ */ __name((output, context) => {
676
667
  }, "de_ScheduleList");
677
668
  var de_SearchAgreementsOutput = /* @__PURE__ */ __name((output, context) => {
678
669
  return (0, import_smithy_client.take)(output, {
679
- agreementViewSummaries: (_) => de_AgreementViewSummaryList(_, context),
670
+ agreementViewSummaries: /* @__PURE__ */ __name((_) => de_AgreementViewSummaryList(_, context), "agreementViewSummaries"),
680
671
  nextToken: import_smithy_client.expectString
681
672
  });
682
673
  }, "de_SearchAgreementsOutput");
683
674
  var de_ValidityTerm = /* @__PURE__ */ __name((output, context) => {
684
675
  return (0, import_smithy_client.take)(output, {
685
676
  agreementDuration: import_smithy_client.expectString,
686
- agreementEndDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
687
- agreementStartDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
677
+ agreementEndDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "agreementEndDate"),
678
+ agreementStartDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "agreementStartDate"),
688
679
  type: import_smithy_client.expectString
689
680
  });
690
681
  }, "de_ValidityTerm");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-agreement",
3
3
  "description": "AWS SDK for JavaScript Marketplace Agreement Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-marketplace-agreement",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",