@aws-sdk/client-invoicing 3.936.0 → 3.938.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 (47) hide show
  1. package/README.md +49 -1
  2. package/dist-cjs/index.js +465 -8
  3. package/dist-es/Invoicing.js +12 -0
  4. package/dist-es/commands/CreateProcurementPortalPreferenceCommand.js +16 -0
  5. package/dist-es/commands/DeleteProcurementPortalPreferenceCommand.js +16 -0
  6. package/dist-es/commands/GetProcurementPortalPreferenceCommand.js +16 -0
  7. package/dist-es/commands/ListProcurementPortalPreferencesCommand.js +16 -0
  8. package/dist-es/commands/PutProcurementPortalPreferenceCommand.js +16 -0
  9. package/dist-es/commands/UpdateProcurementPortalPreferenceStatusCommand.js +16 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/enums.js +40 -0
  12. package/dist-es/models/errors.js +16 -0
  13. package/dist-es/pagination/ListProcurementPortalPreferencesPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/schemas/schemas_0.js +317 -9
  16. package/dist-types/Invoicing.d.ts +44 -1
  17. package/dist-types/InvoicingClient.d.ts +9 -3
  18. package/dist-types/commands/CreateProcurementPortalPreferenceCommand.d.ts +217 -0
  19. package/dist-types/commands/DeleteProcurementPortalPreferenceCommand.d.ts +107 -0
  20. package/dist-types/commands/GetProcurementPortalPreferenceCommand.d.ts +230 -0
  21. package/dist-types/commands/ListProcurementPortalPreferencesCommand.d.ts +229 -0
  22. package/dist-types/commands/PutProcurementPortalPreferenceCommand.d.ts +196 -0
  23. package/dist-types/commands/UpdateProcurementPortalPreferenceStatusCommand.d.ts +118 -0
  24. package/dist-types/commands/index.d.ts +6 -0
  25. package/dist-types/index.d.ts +1 -1
  26. package/dist-types/models/enums.d.ts +112 -0
  27. package/dist-types/models/errors.d.ts +22 -0
  28. package/dist-types/models/models_0.d.ts +634 -1
  29. package/dist-types/pagination/ListProcurementPortalPreferencesPaginator.d.ts +7 -0
  30. package/dist-types/pagination/index.d.ts +1 -0
  31. package/dist-types/schemas/schemas_0.d.ts +34 -0
  32. package/dist-types/ts3.4/Invoicing.d.ts +121 -0
  33. package/dist-types/ts3.4/InvoicingClient.d.ts +38 -2
  34. package/dist-types/ts3.4/commands/CreateProcurementPortalPreferenceCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/DeleteProcurementPortalPreferenceCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/GetProcurementPortalPreferenceCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/ListProcurementPortalPreferencesCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/PutProcurementPortalPreferenceCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/UpdateProcurementPortalPreferenceStatusCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  41. package/dist-types/ts3.4/models/enums.d.ts +56 -0
  42. package/dist-types/ts3.4/models/errors.d.ts +7 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +174 -1
  44. package/dist-types/ts3.4/pagination/ListProcurementPortalPreferencesPaginator.d.ts +11 -0
  45. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +34 -0
  47. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { InvoiceType, ListInvoiceSummariesResourceType } from "./enums";
1
+ import { BuyerDomain, ConnectionTestingMethod, EinvoiceDeliveryAttachmentType, EinvoiceDeliveryDocumentType, InvoiceType, ListInvoiceSummariesResourceType, ProcurementPortalName, ProcurementPortalPreferenceStatus, Protocol, PurchaseOrderDataSourceType, SupplierDomain } from "./enums";
2
2
  /**
3
3
  * <p> The discounted amount. </p>
4
4
  * @public
@@ -275,6 +275,22 @@ export interface BillingPeriod {
275
275
  */
276
276
  Year: number | undefined;
277
277
  }
278
+ /**
279
+ * <p>Represents contact information for a person or role associated with the procurement portal preference.</p>
280
+ * @public
281
+ */
282
+ export interface Contact {
283
+ /**
284
+ * <p>The name of the contact person or role.</p>
285
+ * @public
286
+ */
287
+ Name?: string | undefined;
288
+ /**
289
+ * <p>The email address of the contact person or role.</p>
290
+ * @public
291
+ */
292
+ Email?: string | undefined;
293
+ }
278
294
  /**
279
295
  * <p>The tag structure that contains a tag key and value. </p>
280
296
  * @public
@@ -352,6 +368,200 @@ export interface CreateInvoiceUnitResponse {
352
368
  */
353
369
  InvoiceUnitArn?: string | undefined;
354
370
  }
371
+ /**
372
+ * <p>Specifies the source configuration for retrieving purchase order data.</p>
373
+ * @public
374
+ */
375
+ export interface PurchaseOrderDataSource {
376
+ /**
377
+ * <p>The type of e-invoice document that requires purchase order data.</p>
378
+ * @public
379
+ */
380
+ EinvoiceDeliveryDocumentType?: EinvoiceDeliveryDocumentType | undefined;
381
+ /**
382
+ * <p>The type of source for purchase order data.</p>
383
+ * @public
384
+ */
385
+ PurchaseOrderDataSourceType?: PurchaseOrderDataSourceType | undefined;
386
+ }
387
+ /**
388
+ * <p>Specifies the preferences for e-invoice delivery, including document types, attachment types, and customization settings.</p>
389
+ * @public
390
+ */
391
+ export interface EinvoiceDeliveryPreference {
392
+ /**
393
+ * <p>The types of e-invoice documents to be delivered.</p>
394
+ * @public
395
+ */
396
+ EinvoiceDeliveryDocumentTypes: EinvoiceDeliveryDocumentType[] | undefined;
397
+ /**
398
+ * <p>The types of attachments to include with the e-invoice delivery.</p>
399
+ * @public
400
+ */
401
+ EinvoiceDeliveryAttachmentTypes?: EinvoiceDeliveryAttachmentType[] | undefined;
402
+ /**
403
+ * <p>The communication protocol to use for e-invoice delivery.</p>
404
+ * @public
405
+ */
406
+ Protocol: Protocol | undefined;
407
+ /**
408
+ * <p>The sources of purchase order data to use for e-invoice generation and delivery.</p>
409
+ * @public
410
+ */
411
+ PurchaseOrderDataSources: PurchaseOrderDataSource[] | undefined;
412
+ /**
413
+ * <p>The method to use for testing the connection to the procurement portal.</p>
414
+ * @public
415
+ */
416
+ ConnectionTestingMethod: ConnectionTestingMethod | undefined;
417
+ /**
418
+ * <p>The date when e-invoice delivery should be activated for this preference.</p>
419
+ * @public
420
+ */
421
+ EinvoiceDeliveryActivationDate: Date | undefined;
422
+ }
423
+ /**
424
+ * <p>Specifies criteria for selecting which invoices should be processed using a particular procurement portal preference.</p>
425
+ * @public
426
+ */
427
+ export interface ProcurementPortalPreferenceSelector {
428
+ /**
429
+ * <p> The Amazon Resource Name (ARN) of invoice unit identifiers to which this preference applies. </p>
430
+ * @public
431
+ */
432
+ InvoiceUnitArns?: string[] | undefined;
433
+ /**
434
+ * <p> The list of seller of record IDs to which this preference applies. </p>
435
+ * @public
436
+ */
437
+ SellerOfRecords?: string[] | undefined;
438
+ }
439
+ /**
440
+ * <p>Input parameters for configuring test environment preferences for a procurement portal.</p>
441
+ * @public
442
+ */
443
+ export interface TestEnvPreferenceInput {
444
+ /**
445
+ * <p>The domain identifier to use for the buyer in the test environment.</p>
446
+ * @public
447
+ */
448
+ BuyerDomain: BuyerDomain | undefined;
449
+ /**
450
+ * <p>The unique identifier to use for the buyer in the test environment.</p>
451
+ * @public
452
+ */
453
+ BuyerIdentifier: string | undefined;
454
+ /**
455
+ * <p>The domain identifier to use for the supplier in the test environment.</p>
456
+ * @public
457
+ */
458
+ SupplierDomain: SupplierDomain | undefined;
459
+ /**
460
+ * <p>The unique identifier to use for the supplier in the test environment.</p>
461
+ * @public
462
+ */
463
+ SupplierIdentifier: string | undefined;
464
+ /**
465
+ * <p>The shared secret or authentication credential to use for secure communication in the test environment.</p>
466
+ * @public
467
+ */
468
+ ProcurementPortalSharedSecret?: string | undefined;
469
+ /**
470
+ * <p>The endpoint URL where e-invoices will be delivered in the test environment.</p>
471
+ * @public
472
+ */
473
+ ProcurementPortalInstanceEndpoint?: string | undefined;
474
+ }
475
+ /**
476
+ * @public
477
+ */
478
+ export interface CreateProcurementPortalPreferenceRequest {
479
+ /**
480
+ * <p>The name of the procurement portal.</p>
481
+ * @public
482
+ */
483
+ ProcurementPortalName: ProcurementPortalName | undefined;
484
+ /**
485
+ * <p>The domain identifier for the buyer in the procurement portal.</p>
486
+ * @public
487
+ */
488
+ BuyerDomain: BuyerDomain | undefined;
489
+ /**
490
+ * <p>The unique identifier for the buyer in the procurement portal. </p>
491
+ * @public
492
+ */
493
+ BuyerIdentifier: string | undefined;
494
+ /**
495
+ * <p>The domain identifier for the supplier in the procurement portal.</p>
496
+ * @public
497
+ */
498
+ SupplierDomain: SupplierDomain | undefined;
499
+ /**
500
+ * <p>The unique identifier for the supplier in the procurement portal.</p>
501
+ * @public
502
+ */
503
+ SupplierIdentifier: string | undefined;
504
+ /**
505
+ * <p>Specifies criteria for selecting which invoices should be processed using a particular procurement portal preference.</p>
506
+ * @public
507
+ */
508
+ Selector?: ProcurementPortalPreferenceSelector | undefined;
509
+ /**
510
+ * <p>The shared secret or authentication credential used to establish secure communication with the procurement portal. This value must be encrypted at rest.</p>
511
+ * @public
512
+ */
513
+ ProcurementPortalSharedSecret?: string | undefined;
514
+ /**
515
+ * <p>The endpoint URL where e-invoices will be delivered to the procurement portal. Must be a valid HTTPS URL.</p>
516
+ * @public
517
+ */
518
+ ProcurementPortalInstanceEndpoint?: string | undefined;
519
+ /**
520
+ * <p>Configuration settings for the test environment of the procurement portal. Includes test credentials and endpoints that are used for validation before production deployment.</p>
521
+ * @public
522
+ */
523
+ TestEnvPreference?: TestEnvPreferenceInput | undefined;
524
+ /**
525
+ * <p>Indicates whether e-invoice delivery is enabled for this procurement portal preference. Set to true to enable e-invoice delivery, false to disable.</p>
526
+ * @public
527
+ */
528
+ EinvoiceDeliveryEnabled: boolean | undefined;
529
+ /**
530
+ * <p>Specifies the e-invoice delivery configuration including document types, attachment types, and customization settings for the portal.</p>
531
+ * @public
532
+ */
533
+ EinvoiceDeliveryPreference?: EinvoiceDeliveryPreference | undefined;
534
+ /**
535
+ * <p>Indicates whether purchase order retrieval is enabled for this procurement portal preference. Set to true to enable PO retrieval, false to disable.</p>
536
+ * @public
537
+ */
538
+ PurchaseOrderRetrievalEnabled: boolean | undefined;
539
+ /**
540
+ * <p>List of contact information for portal administrators and technical contacts responsible for the e-invoice integration.</p>
541
+ * @public
542
+ */
543
+ Contacts: Contact[] | undefined;
544
+ /**
545
+ * <p>The tags to apply to this procurement portal preference resource. Each tag consists of a key and an optional value.</p>
546
+ * @public
547
+ */
548
+ ResourceTags?: ResourceTag[] | undefined;
549
+ /**
550
+ * <p>A unique, case-sensitive identifier that you provide to ensure idempotency of the request.</p>
551
+ * @public
552
+ */
553
+ ClientToken?: string | undefined;
554
+ }
555
+ /**
556
+ * @public
557
+ */
558
+ export interface CreateProcurementPortalPreferenceResponse {
559
+ /**
560
+ * <p>The Amazon Resource Name (ARN) of the created procurement portal preference.</p>
561
+ * @public
562
+ */
563
+ ProcurementPortalPreferenceArn: string | undefined;
564
+ }
355
565
  /**
356
566
  * <p>The details of currency exchange. </p>
357
567
  * @public
@@ -409,6 +619,26 @@ export interface DeleteInvoiceUnitResponse {
409
619
  */
410
620
  InvoiceUnitArn?: string | undefined;
411
621
  }
622
+ /**
623
+ * @public
624
+ */
625
+ export interface DeleteProcurementPortalPreferenceRequest {
626
+ /**
627
+ * <p>The Amazon Resource Name (ARN) of the procurement portal preference to delete.</p>
628
+ * @public
629
+ */
630
+ ProcurementPortalPreferenceArn: string | undefined;
631
+ }
632
+ /**
633
+ * @public
634
+ */
635
+ export interface DeleteProcurementPortalPreferenceResponse {
636
+ /**
637
+ * <p>The Amazon Resource Name (ARN) of the deleted procurement portal preference.</p>
638
+ * @public
639
+ */
640
+ ProcurementPortalPreferenceArn: string | undefined;
641
+ }
412
642
  /**
413
643
  * <p>The organization name providing Amazon Web Services services.</p>
414
644
  * @public
@@ -563,6 +793,188 @@ export interface GetInvoiceUnitResponse {
563
793
  */
564
794
  LastModified?: Date | undefined;
565
795
  }
796
+ /**
797
+ * @public
798
+ */
799
+ export interface GetProcurementPortalPreferenceRequest {
800
+ /**
801
+ * <p>The Amazon Resource Name (ARN) of the procurement portal preference to retrieve.</p>
802
+ * @public
803
+ */
804
+ ProcurementPortalPreferenceArn: string | undefined;
805
+ }
806
+ /**
807
+ * <p>Contains configuration settings for testing the procurement portal integration in a non-production environment.</p>
808
+ * @public
809
+ */
810
+ export interface TestEnvPreference {
811
+ /**
812
+ * <p>The domain identifier for the buyer in the test environment of the procurement portal.</p>
813
+ * @public
814
+ */
815
+ BuyerDomain: BuyerDomain | undefined;
816
+ /**
817
+ * <p>The unique identifier for the buyer in the test environment of the procurement portal.</p>
818
+ * @public
819
+ */
820
+ BuyerIdentifier: string | undefined;
821
+ /**
822
+ * <p>The domain identifier for the supplier in the test environment of the procurement portal.</p>
823
+ * @public
824
+ */
825
+ SupplierDomain: SupplierDomain | undefined;
826
+ /**
827
+ * <p>The unique identifier for the supplier in the test environment of the procurement portal.</p>
828
+ * @public
829
+ */
830
+ SupplierIdentifier: string | undefined;
831
+ /**
832
+ * <p>The shared secret or authentication credential used for secure communication with the test environment.</p>
833
+ * @public
834
+ */
835
+ ProcurementPortalSharedSecret?: string | undefined;
836
+ /**
837
+ * <p>The endpoint URL where e-invoices are delivered in the test environment.</p>
838
+ * @public
839
+ */
840
+ ProcurementPortalInstanceEndpoint?: string | undefined;
841
+ /**
842
+ * <p>The endpoint URL used for retrieving purchase orders in the test environment.</p>
843
+ * @public
844
+ */
845
+ PurchaseOrderRetrievalEndpoint?: string | undefined;
846
+ }
847
+ /**
848
+ * <p>Represents the full configuration of a procurement portal preference, including settings for e-invoice delivery and purchase order retrieval.</p>
849
+ * @public
850
+ */
851
+ export interface ProcurementPortalPreference {
852
+ /**
853
+ * <p>The Amazon Web Services account ID associated with this procurement portal preference.</p>
854
+ * @public
855
+ */
856
+ AwsAccountId: string | undefined;
857
+ /**
858
+ * <p>The Amazon Resource Name (ARN) of the procurement portal preference.</p>
859
+ * @public
860
+ */
861
+ ProcurementPortalPreferenceArn: string | undefined;
862
+ /**
863
+ * <p>The name of the procurement portal.</p>
864
+ * @public
865
+ */
866
+ ProcurementPortalName: ProcurementPortalName | undefined;
867
+ /**
868
+ * <p>The domain identifier for the buyer in the procurement portal.</p>
869
+ * @public
870
+ */
871
+ BuyerDomain: BuyerDomain | undefined;
872
+ /**
873
+ * <p>The unique identifier for the buyer in the procurement portal.</p>
874
+ * @public
875
+ */
876
+ BuyerIdentifier: string | undefined;
877
+ /**
878
+ * <p>The domain identifier for the supplier in the procurement portal.</p>
879
+ * @public
880
+ */
881
+ SupplierDomain: SupplierDomain | undefined;
882
+ /**
883
+ * <p>The unique identifier for the supplier in the procurement portal.</p>
884
+ * @public
885
+ */
886
+ SupplierIdentifier: string | undefined;
887
+ /**
888
+ * <p>Specifies criteria for selecting which invoices should be processed using a particular procurement portal preference.</p>
889
+ * @public
890
+ */
891
+ Selector?: ProcurementPortalPreferenceSelector | undefined;
892
+ /**
893
+ * <p>The shared secret or authentication credential used for secure communication with the procurement portal.</p>
894
+ * @public
895
+ */
896
+ ProcurementPortalSharedSecret?: string | undefined;
897
+ /**
898
+ * <p>The endpoint URL where e-invoices are delivered to the procurement portal.</p>
899
+ * @public
900
+ */
901
+ ProcurementPortalInstanceEndpoint?: string | undefined;
902
+ /**
903
+ * <p>The endpoint URL used for retrieving purchase orders from the procurement portal.</p>
904
+ * @public
905
+ */
906
+ PurchaseOrderRetrievalEndpoint?: string | undefined;
907
+ /**
908
+ * <p>Configuration on settings for the test environment of the procurement portal.</p>
909
+ * @public
910
+ */
911
+ TestEnvPreference?: TestEnvPreference | undefined;
912
+ /**
913
+ * <p>Indicates whether e-invoice delivery is enabled for this procurement portal preference.</p>
914
+ * @public
915
+ */
916
+ EinvoiceDeliveryEnabled: boolean | undefined;
917
+ /**
918
+ * <p>The configuration settings that specify how e-invoices are delivered to the procurement portal.</p>
919
+ * @public
920
+ */
921
+ EinvoiceDeliveryPreference?: EinvoiceDeliveryPreference | undefined;
922
+ /**
923
+ * <p>Indicates whether purchase order retrieval is enabled for this procurement portal preference.</p>
924
+ * @public
925
+ */
926
+ PurchaseOrderRetrievalEnabled: boolean | undefined;
927
+ /**
928
+ * <p>List of contact information for portal administrators and technical contacts.</p>
929
+ * @public
930
+ */
931
+ Contacts?: Contact[] | undefined;
932
+ /**
933
+ * <p>The current status of the e-invoice delivery preference.</p>
934
+ * @public
935
+ */
936
+ EinvoiceDeliveryPreferenceStatus?: ProcurementPortalPreferenceStatus | undefined;
937
+ /**
938
+ * <p>The reason for the current e-invoice delivery preference status.</p>
939
+ * @public
940
+ */
941
+ EinvoiceDeliveryPreferenceStatusReason?: string | undefined;
942
+ /**
943
+ * <p>The current status of the purchase order retrieval preference.</p>
944
+ * @public
945
+ */
946
+ PurchaseOrderRetrievalPreferenceStatus?: ProcurementPortalPreferenceStatus | undefined;
947
+ /**
948
+ * <p>The reason for the current purchase order retrieval preference status.</p>
949
+ * @public
950
+ */
951
+ PurchaseOrderRetrievalPreferenceStatusReason?: string | undefined;
952
+ /**
953
+ * <p>The version number of the procurement portal preference configuration.</p>
954
+ * @public
955
+ */
956
+ Version: number | undefined;
957
+ /**
958
+ * <p>The date and time when the procurement portal preference was created.</p>
959
+ * @public
960
+ */
961
+ CreateDate: Date | undefined;
962
+ /**
963
+ * <p>The date and time when the procurement portal preference was last updated.</p>
964
+ * @public
965
+ */
966
+ LastUpdateDate: Date | undefined;
967
+ }
968
+ /**
969
+ * @public
970
+ */
971
+ export interface GetProcurementPortalPreferenceResponse {
972
+ /**
973
+ * <p>The detailed configuration of the requested procurement portal preference.</p>
974
+ * @public
975
+ */
976
+ ProcurementPortalPreference: ProcurementPortalPreference | undefined;
977
+ }
566
978
  /**
567
979
  * <p> The amount charged after taxes, in the preferred currency. </p>
568
980
  * @public
@@ -818,6 +1230,127 @@ export interface ListInvoiceUnitsResponse {
818
1230
  */
819
1231
  NextToken?: string | undefined;
820
1232
  }
1233
+ /**
1234
+ * @public
1235
+ */
1236
+ export interface ListProcurementPortalPreferencesRequest {
1237
+ /**
1238
+ * <p>The token for the next set of results. (You received this token from a previous call.)</p>
1239
+ * @public
1240
+ */
1241
+ NextToken?: string | undefined;
1242
+ /**
1243
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.</p>
1244
+ * @public
1245
+ */
1246
+ MaxResults?: number | undefined;
1247
+ }
1248
+ /**
1249
+ * <p>Provides a summary of a procurement portal preference, including key identifiers and status information.</p>
1250
+ * @public
1251
+ */
1252
+ export interface ProcurementPortalPreferenceSummary {
1253
+ /**
1254
+ * <p>The Amazon Web Services account ID associated with this procurement portal preference summary.</p>
1255
+ * @public
1256
+ */
1257
+ AwsAccountId: string | undefined;
1258
+ /**
1259
+ * <p>The Amazon Resource Name (ARN) of the procurement portal preference.</p>
1260
+ * @public
1261
+ */
1262
+ ProcurementPortalPreferenceArn: string | undefined;
1263
+ /**
1264
+ * <p>The name of the procurement portal.</p>
1265
+ * @public
1266
+ */
1267
+ ProcurementPortalName: ProcurementPortalName | undefined;
1268
+ /**
1269
+ * <p>The domain identifier for the buyer in the procurement portal.</p>
1270
+ * @public
1271
+ */
1272
+ BuyerDomain: BuyerDomain | undefined;
1273
+ /**
1274
+ * <p>The unique identifier for the buyer in the procurement portal.</p>
1275
+ * @public
1276
+ */
1277
+ BuyerIdentifier: string | undefined;
1278
+ /**
1279
+ * <p>The domain identifier for the supplier in the procurement portal.</p>
1280
+ * @public
1281
+ */
1282
+ SupplierDomain: SupplierDomain | undefined;
1283
+ /**
1284
+ * <p>The unique identifier for the supplier in the procurement portal.</p>
1285
+ * @public
1286
+ */
1287
+ SupplierIdentifier: string | undefined;
1288
+ /**
1289
+ * <p>Specifies criteria for selecting which invoices should be processed using a particular procurement portal preference.</p>
1290
+ * @public
1291
+ */
1292
+ Selector?: ProcurementPortalPreferenceSelector | undefined;
1293
+ /**
1294
+ * <p>Indicates whether e-invoice delivery is enabled for this procurement portal preference.</p>
1295
+ * @public
1296
+ */
1297
+ EinvoiceDeliveryEnabled: boolean | undefined;
1298
+ /**
1299
+ * <p>Indicates whether purchase order retrieval is enabled for this procurement portal preference.</p>
1300
+ * @public
1301
+ */
1302
+ PurchaseOrderRetrievalEnabled: boolean | undefined;
1303
+ /**
1304
+ * <p>The current status of the e-invoice delivery preference in this summary.</p>
1305
+ * @public
1306
+ */
1307
+ EinvoiceDeliveryPreferenceStatus?: ProcurementPortalPreferenceStatus | undefined;
1308
+ /**
1309
+ * <p>The reason for the current e-invoice delivery preference status in this summary.</p>
1310
+ * @public
1311
+ */
1312
+ EinvoiceDeliveryPreferenceStatusReason?: string | undefined;
1313
+ /**
1314
+ * <p>The current status of the purchase order retrieval preference in this summary.</p>
1315
+ * @public
1316
+ */
1317
+ PurchaseOrderRetrievalPreferenceStatus?: ProcurementPortalPreferenceStatus | undefined;
1318
+ /**
1319
+ * <p>The reason for the current purchase order retrieval preference status in this summary.</p>
1320
+ * @public
1321
+ */
1322
+ PurchaseOrderRetrievalPreferenceStatusReason?: string | undefined;
1323
+ /**
1324
+ * <p>The version number of the procurement portal preference configuration in this summary.</p>
1325
+ * @public
1326
+ */
1327
+ Version: number | undefined;
1328
+ /**
1329
+ * <p>The date and time when the procurement portal preference was created.</p>
1330
+ * @public
1331
+ */
1332
+ CreateDate: Date | undefined;
1333
+ /**
1334
+ * <p>The date and time when the procurement portal preference was last updated.</p>
1335
+ * @public
1336
+ */
1337
+ LastUpdateDate: Date | undefined;
1338
+ }
1339
+ /**
1340
+ * @public
1341
+ */
1342
+ export interface ListProcurementPortalPreferencesResponse {
1343
+ /**
1344
+ * <p>The list of procurement portal preferences associated with the Amazon Web Services account.</p>
1345
+ * @public
1346
+ */
1347
+ ProcurementPortalPreferences?: ProcurementPortalPreferenceSummary[] | undefined;
1348
+ /**
1349
+ * <p>The token to use to retrieve the next set of results, or null if there are no more results.</p>
1350
+ * @public
1351
+ */
1352
+ NextToken?: string | undefined;
1353
+ }
821
1354
  /**
822
1355
  * @public
823
1356
  */
@@ -838,6 +1371,66 @@ export interface ListTagsForResourceResponse {
838
1371
  */
839
1372
  ResourceTags?: ResourceTag[] | undefined;
840
1373
  }
1374
+ /**
1375
+ * @public
1376
+ */
1377
+ export interface PutProcurementPortalPreferenceRequest {
1378
+ /**
1379
+ * <p>The Amazon Resource Name (ARN) of the procurement portal preference to update.</p>
1380
+ * @public
1381
+ */
1382
+ ProcurementPortalPreferenceArn: string | undefined;
1383
+ /**
1384
+ * <p>Specifies criteria for selecting which invoices should be processed using a particular procurement portal preference.</p>
1385
+ * @public
1386
+ */
1387
+ Selector?: ProcurementPortalPreferenceSelector | undefined;
1388
+ /**
1389
+ * <p>The updated shared secret or authentication credential for the procurement portal. This value must be encrypted at rest.</p>
1390
+ * @public
1391
+ */
1392
+ ProcurementPortalSharedSecret?: string | undefined;
1393
+ /**
1394
+ * <p>The updated endpoint URL where e-invoices will be delivered to the procurement portal. Must be a valid HTTPS URL.</p>
1395
+ * @public
1396
+ */
1397
+ ProcurementPortalInstanceEndpoint?: string | undefined;
1398
+ /**
1399
+ * <p>Updated configuration settings for the test environment of the procurement portal.</p>
1400
+ * @public
1401
+ */
1402
+ TestEnvPreference?: TestEnvPreferenceInput | undefined;
1403
+ /**
1404
+ * <p>Updated flag indicating whether e-invoice delivery is enabled for this procurement portal preference.</p>
1405
+ * @public
1406
+ */
1407
+ EinvoiceDeliveryEnabled: boolean | undefined;
1408
+ /**
1409
+ * <p>Updated e-invoice delivery configuration including document types, attachment types, and customization settings for the portal.</p>
1410
+ * @public
1411
+ */
1412
+ EinvoiceDeliveryPreference?: EinvoiceDeliveryPreference | undefined;
1413
+ /**
1414
+ * <p>Updated flag indicating whether purchase order retrieval is enabled for this procurement portal preference.</p>
1415
+ * @public
1416
+ */
1417
+ PurchaseOrderRetrievalEnabled: boolean | undefined;
1418
+ /**
1419
+ * <p>Updated list of contact information for portal administrators and technical contacts.</p>
1420
+ * @public
1421
+ */
1422
+ Contacts: Contact[] | undefined;
1423
+ }
1424
+ /**
1425
+ * @public
1426
+ */
1427
+ export interface PutProcurementPortalPreferenceResponse {
1428
+ /**
1429
+ * <p>The Amazon Resource Name (ARN) of the updated procurement portal preference.</p>
1430
+ * @public
1431
+ */
1432
+ ProcurementPortalPreferenceArn: string | undefined;
1433
+ }
841
1434
  /**
842
1435
  * @public
843
1436
  */
@@ -913,3 +1506,43 @@ export interface UpdateInvoiceUnitResponse {
913
1506
  */
914
1507
  InvoiceUnitArn?: string | undefined;
915
1508
  }
1509
+ /**
1510
+ * @public
1511
+ */
1512
+ export interface UpdateProcurementPortalPreferenceStatusRequest {
1513
+ /**
1514
+ * <p>The Amazon Resource Name (ARN) of the procurement portal preference to update.</p>
1515
+ * @public
1516
+ */
1517
+ ProcurementPortalPreferenceArn: string | undefined;
1518
+ /**
1519
+ * <p>The updated status of the e-invoice delivery preference.</p>
1520
+ * @public
1521
+ */
1522
+ EinvoiceDeliveryPreferenceStatus?: ProcurementPortalPreferenceStatus | undefined;
1523
+ /**
1524
+ * <p>The reason for the e-invoice delivery preference status update, providing context for the change.</p>
1525
+ * @public
1526
+ */
1527
+ EinvoiceDeliveryPreferenceStatusReason?: string | undefined;
1528
+ /**
1529
+ * <p>The updated status of the purchase order retrieval preference.</p>
1530
+ * @public
1531
+ */
1532
+ PurchaseOrderRetrievalPreferenceStatus?: ProcurementPortalPreferenceStatus | undefined;
1533
+ /**
1534
+ * <p>The reason for the purchase order retrieval preference status update, providing context for the change.</p>
1535
+ * @public
1536
+ */
1537
+ PurchaseOrderRetrievalPreferenceStatusReason?: string | undefined;
1538
+ }
1539
+ /**
1540
+ * @public
1541
+ */
1542
+ export interface UpdateProcurementPortalPreferenceStatusResponse {
1543
+ /**
1544
+ * <p>The Amazon Resource Name (ARN) of the procurement portal preference with updated status.</p>
1545
+ * @public
1546
+ */
1547
+ ProcurementPortalPreferenceArn: string | undefined;
1548
+ }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListProcurementPortalPreferencesCommandInput, ListProcurementPortalPreferencesCommandOutput } from "../commands/ListProcurementPortalPreferencesCommand";
3
+ import { InvoicingPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListProcurementPortalPreferences: (config: InvoicingPaginationConfiguration, input: ListProcurementPortalPreferencesCommandInput, ...rest: any[]) => Paginator<ListProcurementPortalPreferencesCommandOutput>;
@@ -1,3 +1,4 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListInvoiceSummariesPaginator";
3
3
  export * from "./ListInvoiceUnitsPaginator";
4
+ export * from "./ListProcurementPortalPreferencesPaginator";