@aws-sdk/client-marketplace-agreement 3.1165.0 → 3.1167.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/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1164.0";
72
+ var version = "3.1166.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -343,6 +343,7 @@ const _F = "Filter";
343
343
  const _FL = "FilterList";
344
344
  const _FP = "FixedPercentage";
345
345
  const _FTPT = "FreeTrialPricingTerm";
346
+ const _FTS = "FreeTrialSummary";
346
347
  const _FUPT = "FixedUpfrontPricingTerm";
347
348
  const _GACR = "GetAgreementCancellationRequest";
348
349
  const _GACRI = "GetAgreementCancellationRequestInput";
@@ -520,7 +521,9 @@ const _en = "entitlements";
520
521
  const _er = "errors";
521
522
  const _f = "fields";
522
523
  const _fP = "fixedPercentage";
524
+ const _fTET = "freeTrialEndTime";
523
525
  const _fTPT = "freeTrialPricingTerm";
526
+ const _fTS = "freeTrialSummary";
524
527
  const _fUPT = "fixedUpfrontPricingTerm";
525
528
  const _fi = "filters";
526
529
  const _g = "grants";
@@ -616,6 +619,7 @@ const _t = "type";
616
619
  const _tA = "totalAmount";
617
620
  const _tC = "taxConfiguration";
618
621
  const _tE = "taxEstimation";
622
+ const _tET = "trialEndTime";
619
623
  const _tI = "termId";
620
624
  const _tT = "termTemplates";
621
625
  const _ti = "time";
@@ -738,8 +742,8 @@ var AgreementInvoiceLineItemGroupSummary$ = [3, n0, _AILIGS,
738
742
  ];
739
743
  var AgreementViewSummary$ = [3, n0, _AVS,
740
744
  0,
741
- [_aI, _aTc, _sT, _eT, _lUT, _aT, _a, _p, _pS, _st, _en, _iAI, _eTBT, _eTBRC],
742
- [0, 4, 4, 4, 4, 0, () => Acceptor$, () => Proposer$, () => ProposalSummary$, 0, () => EntitlementList, 0, 0, 0]
745
+ [_aI, _aTc, _sT, _eT, _lUT, _aT, _a, _p, _pS, _st, _en, _iAI, _eTBT, _eTBRC, _fTET],
746
+ [0, 4, 4, 4, 4, 0, () => Acceptor$, () => Proposer$, () => ProposalSummary$, 0, () => EntitlementList, 0, 0, 0, 4]
743
747
  ];
744
748
  var BatchCreateBillingAdjustmentError$ = [3, n0, _BCBAE,
745
749
  0,
@@ -853,8 +857,8 @@ var DescribeAgreementInput$ = [3, n0, _DAI,
853
857
  ];
854
858
  var DescribeAgreementOutput$ = [3, n0, _DAO,
855
859
  0,
856
- [_aI, _a, _p, _sT, _eT, _aTc, _aT, _eCs, _pS, _st, _iAI, _eTB],
857
- [0, () => Acceptor$, () => Proposer$, 4, 4, 4, 0, () => EstimatedCharges$, () => ProposalSummary$, 0, 0, () => EndTimeBehavior$]
860
+ [_aI, _a, _p, _sT, _eT, _aTc, _aT, _eCs, _pS, _st, _iAI, _eTB, _fTS],
861
+ [0, () => Acceptor$, () => Proposer$, 4, 4, 4, 0, () => EstimatedCharges$, () => ProposalSummary$, 0, 0, () => EndTimeBehavior$, () => FreeTrialSummary$]
858
862
  ];
859
863
  var Dimension$ = [3, n0, _D,
860
864
  0,
@@ -911,6 +915,11 @@ var FreeTrialPricingTerm$ = [3, n0, _FTPT,
911
915
  [_t, _id, _du, _g],
912
916
  [0, 0, 0, () => GrantList]
913
917
  ];
918
+ var FreeTrialSummary$ = [3, n0, _FTS,
919
+ 0,
920
+ [_tET],
921
+ [4]
922
+ ];
914
923
  var GetAgreementCancellationRequestInput$ = [3, n0, _GACRI,
915
924
  0,
916
925
  [_aCRI, _aI],
@@ -2003,6 +2012,7 @@ exports.Filter$ = Filter$;
2003
2012
  exports.FixedPercentage$ = FixedPercentage$;
2004
2013
  exports.FixedUpfrontPricingTerm$ = FixedUpfrontPricingTerm$;
2005
2014
  exports.FreeTrialPricingTerm$ = FreeTrialPricingTerm$;
2015
+ exports.FreeTrialSummary$ = FreeTrialSummary$;
2006
2016
  exports.GetAgreementCancellationRequest$ = GetAgreementCancellationRequest$;
2007
2017
  exports.GetAgreementCancellationRequestCommand = GetAgreementCancellationRequestCommand;
2008
2018
  exports.GetAgreementCancellationRequestInput$ = GetAgreementCancellationRequestInput$;
@@ -74,6 +74,7 @@ const _F = "Filter";
74
74
  const _FL = "FilterList";
75
75
  const _FP = "FixedPercentage";
76
76
  const _FTPT = "FreeTrialPricingTerm";
77
+ const _FTS = "FreeTrialSummary";
77
78
  const _FUPT = "FixedUpfrontPricingTerm";
78
79
  const _GACR = "GetAgreementCancellationRequest";
79
80
  const _GACRI = "GetAgreementCancellationRequestInput";
@@ -251,7 +252,9 @@ const _en = "entitlements";
251
252
  const _er = "errors";
252
253
  const _f = "fields";
253
254
  const _fP = "fixedPercentage";
255
+ const _fTET = "freeTrialEndTime";
254
256
  const _fTPT = "freeTrialPricingTerm";
257
+ const _fTS = "freeTrialSummary";
255
258
  const _fUPT = "fixedUpfrontPricingTerm";
256
259
  const _fi = "filters";
257
260
  const _g = "grants";
@@ -347,6 +350,7 @@ const _t = "type";
347
350
  const _tA = "totalAmount";
348
351
  const _tC = "taxConfiguration";
349
352
  const _tE = "taxEstimation";
353
+ const _tET = "trialEndTime";
350
354
  const _tI = "termId";
351
355
  const _tT = "termTemplates";
352
356
  const _ti = "time";
@@ -472,8 +476,8 @@ export var AgreementInvoiceLineItemGroupSummary$ = [3, n0, _AILIGS,
472
476
  ];
473
477
  export var AgreementViewSummary$ = [3, n0, _AVS,
474
478
  0,
475
- [_aI, _aTc, _sT, _eT, _lUT, _aT, _a, _p, _pS, _st, _en, _iAI, _eTBT, _eTBRC],
476
- [0, 4, 4, 4, 4, 0, () => Acceptor$, () => Proposer$, () => ProposalSummary$, 0, () => EntitlementList, 0, 0, 0]
479
+ [_aI, _aTc, _sT, _eT, _lUT, _aT, _a, _p, _pS, _st, _en, _iAI, _eTBT, _eTBRC, _fTET],
480
+ [0, 4, 4, 4, 4, 0, () => Acceptor$, () => Proposer$, () => ProposalSummary$, 0, () => EntitlementList, 0, 0, 0, 4]
477
481
  ];
478
482
  export var BatchCreateBillingAdjustmentError$ = [3, n0, _BCBAE,
479
483
  0,
@@ -587,8 +591,8 @@ export var DescribeAgreementInput$ = [3, n0, _DAI,
587
591
  ];
588
592
  export var DescribeAgreementOutput$ = [3, n0, _DAO,
589
593
  0,
590
- [_aI, _a, _p, _sT, _eT, _aTc, _aT, _eCs, _pS, _st, _iAI, _eTB],
591
- [0, () => Acceptor$, () => Proposer$, 4, 4, 4, 0, () => EstimatedCharges$, () => ProposalSummary$, 0, 0, () => EndTimeBehavior$]
594
+ [_aI, _a, _p, _sT, _eT, _aTc, _aT, _eCs, _pS, _st, _iAI, _eTB, _fTS],
595
+ [0, () => Acceptor$, () => Proposer$, 4, 4, 4, 0, () => EstimatedCharges$, () => ProposalSummary$, 0, 0, () => EndTimeBehavior$, () => FreeTrialSummary$]
592
596
  ];
593
597
  export var Dimension$ = [3, n0, _D,
594
598
  0,
@@ -645,6 +649,11 @@ export var FreeTrialPricingTerm$ = [3, n0, _FTPT,
645
649
  [_t, _id, _du, _g],
646
650
  [0, 0, 0, () => GrantList]
647
651
  ];
652
+ export var FreeTrialSummary$ = [3, n0, _FTS,
653
+ 0,
654
+ [_tET],
655
+ [4]
656
+ ];
648
657
  export var GetAgreementCancellationRequestInput$ = [3, n0, _GACRI,
649
658
  0,
650
659
  [_aCRI, _aI],
@@ -73,6 +73,9 @@ declare const DescribeAgreementCommand_base: {
73
73
  * // offerId: "STRING_VALUE",
74
74
  * // },
75
75
  * // },
76
+ * // freeTrialSummary: { // FreeTrialSummary
77
+ * // trialEndTime: new Date("TIMESTAMP"),
78
+ * // },
76
79
  * // };
77
80
  *
78
81
  * ```
@@ -86,6 +86,7 @@ declare const SearchAgreementsCommand_base: {
86
86
  * // initialAgreementId: "STRING_VALUE",
87
87
  * // endTimeBehaviorType: "RENEW" || "REPLACE" || "EXPIRE",
88
88
  * // endTimeBehaviorReasonCode: "PROPOSER_RENEW_OPTED_OUT" || "ACCEPTOR_RENEW_OPTED_OUT" || "NO_RENEWAL_TERM" || "RENEWAL_LIMIT_EXHAUSTED",
89
+ * // freeTrialEndTime: new Date("TIMESTAMP"),
89
90
  * // },
90
91
  * // ],
91
92
  * // nextToken: "STRING_VALUE",
@@ -407,7 +407,7 @@ export interface FreeTrialPricingTerm {
407
407
  */
408
408
  id?: string | undefined;
409
409
  /**
410
- * <p>Duration of the free trial period (5–31 days). </p>
410
+ * <p>Duration of the free trial period. The allowed duration depends on the product type. For SaaS products, the free trial lasts 7 to 90 days.</p>
411
411
  * @public
412
412
  */
413
413
  duration?: string | undefined;
@@ -1518,6 +1518,11 @@ export interface AgreementViewSummary {
1518
1518
  * @public
1519
1519
  */
1520
1520
  endTimeBehaviorReasonCode?: EndTimeBehaviorReasonCode | undefined;
1521
+ /**
1522
+ * <p>The date and time when the free trial of the agreement ends. This field is present only when the agreement includes a free trial.</p> <p>For an agreement that includes both a free trial and usage-based pricing, the agreement converts to paid usage at this time.</p>
1523
+ * @public
1524
+ */
1525
+ freeTrialEndTime?: Date | undefined;
1521
1526
  }
1522
1527
  /**
1523
1528
  * <p>An individual entry in a batch billing adjustment request, specifying the invoice and adjustment details.</p>
@@ -2106,6 +2111,17 @@ export interface EstimatedCharges {
2106
2111
  */
2107
2112
  agreementValue?: string | undefined;
2108
2113
  }
2114
+ /**
2115
+ * <p>Contains details about the free trial of an agreement, including when the free trial ends.</p>
2116
+ * @public
2117
+ */
2118
+ export interface FreeTrialSummary {
2119
+ /**
2120
+ * <p>The date and time when the free trial ends. For an agreement that includes both a free trial and usage-based pricing, the agreement converts to paid usage at this time.</p>
2121
+ * @public
2122
+ */
2123
+ trialEndTime?: Date | undefined;
2124
+ }
2109
2125
  /**
2110
2126
  * @public
2111
2127
  */
@@ -2170,6 +2186,11 @@ export interface DescribeAgreementOutput {
2170
2186
  * @public
2171
2187
  */
2172
2188
  endTimeBehavior?: EndTimeBehavior | undefined;
2189
+ /**
2190
+ * <p>The free trial details of the agreement. This field is present only when the agreement includes a free trial.</p>
2191
+ * @public
2192
+ */
2193
+ freeTrialSummary?: FreeTrialSummary | undefined;
2173
2194
  }
2174
2195
  /**
2175
2196
  * @public
@@ -59,6 +59,7 @@ export declare var Filter$: StaticStructureSchema;
59
59
  export declare var FixedPercentage$: StaticStructureSchema;
60
60
  export declare var FixedUpfrontPricingTerm$: StaticStructureSchema;
61
61
  export declare var FreeTrialPricingTerm$: StaticStructureSchema;
62
+ export declare var FreeTrialSummary$: StaticStructureSchema;
62
63
  export declare var GetAgreementCancellationRequestInput$: StaticStructureSchema;
63
64
  export declare var GetAgreementCancellationRequestOutput$: StaticStructureSchema;
64
65
  export declare var GetAgreementEntitlementsInput$: StaticStructureSchema;
@@ -584,6 +584,7 @@ export interface AgreementViewSummary {
584
584
  initialAgreementId?: string | undefined;
585
585
  endTimeBehaviorType?: EndTimeBehaviorType | undefined;
586
586
  endTimeBehaviorReasonCode?: EndTimeBehaviorReasonCode | undefined;
587
+ freeTrialEndTime?: Date | undefined;
587
588
  }
588
589
  export interface BatchCreateBillingAdjustmentRequestEntry {
589
590
  agreementId: string | undefined;
@@ -750,6 +751,9 @@ export interface EstimatedCharges {
750
751
  currencyCode?: string | undefined;
751
752
  agreementValue?: string | undefined;
752
753
  }
754
+ export interface FreeTrialSummary {
755
+ trialEndTime?: Date | undefined;
756
+ }
753
757
  export interface DescribeAgreementOutput {
754
758
  agreementId?: string | undefined;
755
759
  acceptor?: Acceptor | undefined;
@@ -763,6 +767,7 @@ export interface DescribeAgreementOutput {
763
767
  status?: AgreementStatus | undefined;
764
768
  initialAgreementId?: string | undefined;
765
769
  endTimeBehavior?: EndTimeBehavior | undefined;
770
+ freeTrialSummary?: FreeTrialSummary | undefined;
766
771
  }
767
772
  export interface GetAgreementCancellationRequestInput {
768
773
  agreementCancellationRequestId: string | undefined;
@@ -59,6 +59,7 @@ export declare var Filter$: StaticStructureSchema;
59
59
  export declare var FixedPercentage$: StaticStructureSchema;
60
60
  export declare var FixedUpfrontPricingTerm$: StaticStructureSchema;
61
61
  export declare var FreeTrialPricingTerm$: StaticStructureSchema;
62
+ export declare var FreeTrialSummary$: StaticStructureSchema;
62
63
  export declare var GetAgreementCancellationRequestInput$: StaticStructureSchema;
63
64
  export declare var GetAgreementCancellationRequestOutput$: StaticStructureSchema;
64
65
  export declare var GetAgreementEntitlementsInput$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-agreement",
3
- "version": "3.1165.0",
3
+ "version": "3.1167.0",
4
4
  "description": "AWS SDK for JavaScript Marketplace Agreement Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-marketplace-agreement",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.980.2",
50
- "@aws-sdk/credential-provider-node": "^3.972.95",
49
+ "@aws-sdk/core": "^3.981.0",
50
+ "@aws-sdk/credential-provider-node": "^3.972.97",
51
51
  "@aws-sdk/types": "^3.975.1",
52
- "@smithy/core": "^3.39.0",
52
+ "@smithy/core": "^3.40.0",
53
53
  "@smithy/fetch-http-handler": "^5.8.1",
54
54
  "@smithy/node-http-handler": "^4.14.2",
55
55
  "@smithy/types": "^4.20.0",