artefactby-ozon-seller-api 0.3.0 → 0.4.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/index.d.ts +661 -558
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4562,131 +4562,6 @@ interface paths {
4562
4562
  patch?: never;
4563
4563
  trace?: never;
4564
4564
  };
4565
- "/v2/returns/rfbs/reject": {
4566
- parameters: {
4567
- query?: never;
4568
- header?: never;
4569
- path?: never;
4570
- cookie?: never;
4571
- };
4572
- get?: never;
4573
- put?: never;
4574
- /**
4575
- * Отклонить заявку на возврат
4576
- * @description <aside class="warning">
4577
- * В будущем метод будет отключён. Переключитесь на <a href="#operation/ReturnsAPI_ReturnsRfbsActionSet">/v1/returns/rfbs/action/set</a>.
4578
- * </aside>
4579
- *
4580
- * Метод позволяет отклонить заявку на возврат rFBS-заказа. Вы можете объяснить своё решение в параметре `comment`.
4581
- */
4582
- post: operations["RFBSReturnsAPI_ReturnsRfbsRejectV2"];
4583
- delete?: never;
4584
- options?: never;
4585
- head?: never;
4586
- patch?: never;
4587
- trace?: never;
4588
- };
4589
- "/v2/returns/rfbs/compensate": {
4590
- parameters: {
4591
- query?: never;
4592
- header?: never;
4593
- path?: never;
4594
- cookie?: never;
4595
- };
4596
- get?: never;
4597
- put?: never;
4598
- /**
4599
- * Вернуть часть стоимости товара
4600
- * @description <aside class="warning">
4601
- * В будущем метод будет отключён. Переключитесь на <a href="#operation/ReturnsAPI_ReturnsRfbsActionSet">/v1/returns/rfbs/action/set</a>.
4602
- * </aside>
4603
- *
4604
- * Метод для частичной компенсации стоимости товара: вы возвращаете часть денег покупателю, товар остаётся у него.
4605
- */
4606
- post: operations["RFBSReturnsAPI_ReturnsRfbsCompensateV2"];
4607
- delete?: never;
4608
- options?: never;
4609
- head?: never;
4610
- patch?: never;
4611
- trace?: never;
4612
- };
4613
- "/v2/returns/rfbs/verify": {
4614
- parameters: {
4615
- query?: never;
4616
- header?: never;
4617
- path?: never;
4618
- cookie?: never;
4619
- };
4620
- get?: never;
4621
- put?: never;
4622
- /**
4623
- * Одобрить заявку на возврат
4624
- * @description <aside class="warning">
4625
- * В будущем метод будет отключён. Переключитесь на <a href="#operation/ReturnsAPI_ReturnsRfbsActionSet">/v1/returns/rfbs/action/set</a>.
4626
- * </aside>
4627
- *
4628
- * Метод позволяет одобрить заявку и согласиться на получение товара для проверки.
4629
- *
4630
- * Подтвердите получение товара с помощью метода [/v2/returns/rfbs/receive-return](#operation/RFBSReturnsAPI_ReturnsRfbsReceiveReturnV2).
4631
- */
4632
- post: operations["RFBSReturnsAPI_ReturnsRfbsVerifyV2"];
4633
- delete?: never;
4634
- options?: never;
4635
- head?: never;
4636
- patch?: never;
4637
- trace?: never;
4638
- };
4639
- "/v2/returns/rfbs/receive-return": {
4640
- parameters: {
4641
- query?: never;
4642
- header?: never;
4643
- path?: never;
4644
- cookie?: never;
4645
- };
4646
- get?: never;
4647
- put?: never;
4648
- /**
4649
- * Подтвердить получение товара на проверку
4650
- * @description <aside class="warning">
4651
- * В будущем метод будет отключён. Переключитесь на <a href="#operation/ReturnsAPI_ReturnsRfbsActionSet">/v1/returns/rfbs/action/set</a>.
4652
- * </aside>
4653
- */
4654
- post: operations["RFBSReturnsAPI_ReturnsRfbsReceiveReturnV2"];
4655
- delete?: never;
4656
- options?: never;
4657
- head?: never;
4658
- patch?: never;
4659
- trace?: never;
4660
- };
4661
- "/v2/returns/rfbs/return-money": {
4662
- parameters: {
4663
- query?: never;
4664
- header?: never;
4665
- path?: never;
4666
- cookie?: never;
4667
- };
4668
- get?: never;
4669
- put?: never;
4670
- /**
4671
- * Вернуть деньги покупателю
4672
- * @description <aside class="warning">
4673
- * В будущем метод будет отключён. Переключитесь на <a href="#operation/ReturnsAPI_ReturnsRfbsActionSet">/v1/returns/rfbs/action/set</a>.
4674
- * </aside>
4675
- *
4676
- * Метод подтверждает возврат полной стоимости товара.
4677
- * Используйте метод, если согласны:
4678
- * - сразу вернуть стоимость товара и оставить его покупателю;
4679
- * - вернуть стоимость после получения и проверки товара.
4680
- *
4681
- * Если товар оказался ненадлежащего качества или с браком, вы возмещаете покупателю стоимость пересылки товара.
4682
- */
4683
- post: operations["RFBSReturnsAPI_ReturnsRfbsReturnMoneyV2"];
4684
- delete?: never;
4685
- options?: never;
4686
- head?: never;
4687
- patch?: never;
4688
- trace?: never;
4689
- };
4690
4565
  "/v1/returns/rfbs/action/set": {
4691
4566
  parameters: {
4692
4567
  query?: never;
@@ -6693,6 +6568,86 @@ interface paths {
6693
6568
  patch?: never;
6694
6569
  trace?: never;
6695
6570
  };
6571
+ "/v1/supply-order/act/summary/get": {
6572
+ parameters: {
6573
+ query?: never;
6574
+ header?: never;
6575
+ path?: never;
6576
+ cookie?: never;
6577
+ };
6578
+ get?: never;
6579
+ put?: never;
6580
+ /**
6581
+ * Получить информацию об акте
6582
+ * @description Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/2294-Novye-beta-metody-dlia-raboty-s-aktami-FBO/) в сообществе разработчиков Ozon for dev.
6583
+ */
6584
+ post: operations["SupplyOrderActSummaryGet"];
6585
+ delete?: never;
6586
+ options?: never;
6587
+ head?: never;
6588
+ patch?: never;
6589
+ trace?: never;
6590
+ };
6591
+ "/v1/supply-order/act/product/get": {
6592
+ parameters: {
6593
+ query?: never;
6594
+ header?: never;
6595
+ path?: never;
6596
+ cookie?: never;
6597
+ };
6598
+ get?: never;
6599
+ put?: never;
6600
+ /**
6601
+ * Получить информацию о товарах в акте
6602
+ * @description Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/2294-Novye-beta-metody-dlia-raboty-s-aktami-FBO/) в сообществе разработчиков Ozon for dev.
6603
+ */
6604
+ post: operations["SupplyOrderActProductGet"];
6605
+ delete?: never;
6606
+ options?: never;
6607
+ head?: never;
6608
+ patch?: never;
6609
+ trace?: never;
6610
+ };
6611
+ "/v1/supply-order/act/accept": {
6612
+ parameters: {
6613
+ query?: never;
6614
+ header?: never;
6615
+ path?: never;
6616
+ cookie?: never;
6617
+ };
6618
+ get?: never;
6619
+ put?: never;
6620
+ /**
6621
+ * Согласовать акт
6622
+ * @description Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/2294-Novye-beta-metody-dlia-raboty-s-aktami-FBO/) в сообществе разработчиков Ozon for dev.
6623
+ */
6624
+ post: operations["SupplyOrderActAccept"];
6625
+ delete?: never;
6626
+ options?: never;
6627
+ head?: never;
6628
+ patch?: never;
6629
+ trace?: never;
6630
+ };
6631
+ "/v1/supply-order/act/accept/status": {
6632
+ parameters: {
6633
+ query?: never;
6634
+ header?: never;
6635
+ path?: never;
6636
+ cookie?: never;
6637
+ };
6638
+ get?: never;
6639
+ put?: never;
6640
+ /**
6641
+ * Получить статус согласования акта
6642
+ * @description Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/2294-Novye-beta-metody-dlia-raboty-s-aktami-FBO/) в сообществе разработчиков Ozon for dev.
6643
+ */
6644
+ post: operations["SupplyOrderActAcceptStatus"];
6645
+ delete?: never;
6646
+ options?: never;
6647
+ head?: never;
6648
+ patch?: never;
6649
+ trace?: never;
6650
+ };
6696
6651
  "/v1/warehouse/fbs/create/drop-off/list": {
6697
6652
  parameters: {
6698
6653
  query?: never;
@@ -24884,7 +24839,10 @@ interface components {
24884
24839
  rejection_comment?: string;
24885
24840
  /** @description Данные о причине отклонения заявки. */
24886
24841
  rejection_reason?: components["schemas"]["ReturnsRfbsGetV2ResponseRejectionReason"][];
24887
- /** @description Способ возврата товара. */
24842
+ /**
24843
+ * @deprecated
24844
+ * @description Способ возврата товара.
24845
+ */
24888
24846
  return_method_description?: string;
24889
24847
  /** @description Номер заявки на возврат. */
24890
24848
  return_number?: string;
@@ -24902,68 +24860,6 @@ interface components {
24902
24860
  v2ReturnsRfbsGetResponse: {
24903
24861
  returns?: components["schemas"]["ReturnsRfbsGetResponseReturns"];
24904
24862
  };
24905
- /** object */
24906
- v2ReturnsRfbsRejectRequest: {
24907
- /**
24908
- * Format: int64
24909
- * @description Идентификатор заявки на возврат.
24910
- */
24911
- return_id: number;
24912
- /**
24913
- * @description Комментарий.
24914
- *
24915
- * Передайте комментарий, если в ответе метода [/v2/returns/rfbs/get](#operation/RFBSReturnsAPI_ReturnsRfbsGetV2) параметр `rejection_reason.is_comment_required` — `true`.
24916
- */
24917
- comment?: string;
24918
- /**
24919
- * Format: int64
24920
- * @description Идентификатор причины отмены.
24921
- *
24922
- * Передайте идентификатор из списка причин, полученного в ответе метода [/v2/returns/rfbs/get](#operation/RFBSReturnsAPI_ReturnsRfbsGetV2) в параметре `rejection_reason`.
24923
- */
24924
- rejection_reason_id: number;
24925
- };
24926
- /** object */
24927
- v2ReturnsRfbsCompensateRequest: {
24928
- /** @description Сумма компенсации. */
24929
- compensation_amount?: string;
24930
- /**
24931
- * Format: int64
24932
- * @description Идентификатор заявки на возврат.
24933
- */
24934
- return_id: number;
24935
- };
24936
- /** object */
24937
- v2ReturnsRfbsVerifyRequest: {
24938
- /**
24939
- * Format: int64
24940
- * @description Идентификатор заявки на возврат.
24941
- */
24942
- return_id: number;
24943
- /** @description Способ возврата товара. */
24944
- return_method_description?: string;
24945
- };
24946
- /** object */
24947
- v2ReturnsRfbsReceiveReturnRequest: {
24948
- /**
24949
- * Format: int64
24950
- * @description Идентификатор заявки на возврат.
24951
- */
24952
- return_id: number;
24953
- };
24954
- /** object */
24955
- v2ReturnsRfbsReturnMoneyRequest: {
24956
- /**
24957
- * Format: int64
24958
- * @description Идентификатор заявки на возврат.
24959
- */
24960
- return_id: number;
24961
- /**
24962
- * Format: int64
24963
- * @description Сумма, возмещаемая покупателю за пересылку товара.
24964
- */
24965
- return_for_back_way?: number;
24966
- };
24967
24863
  v1ReturnsRfbsActionSetRequest: {
24968
24864
  /**
24969
24865
  * @description Комментарий продавца.
@@ -31717,6 +31613,287 @@ interface components {
31717
31613
  /** @description Уникальный идентификатор отчёта. Получите отчёт методом [/v1/report/info](#operation/ReportAPI_ReportInfo). */
31718
31614
  code?: string;
31719
31615
  };
31616
+ "supply_order.v1.SupplyOrderActSummaryGetRequest": {
31617
+ /**
31618
+ * Format: int64
31619
+ * @description Идентификатор заявки на поставку из метода [/v3/supply-order/list](#operation/SupplyOrderList).
31620
+ */
31621
+ order_id: number;
31622
+ };
31623
+ /**
31624
+ * @description Статус акта:
31625
+ * - `UNSPECIFIED` — не определён;
31626
+ * - `AWAITING_APPROVAL_BY_SELLER` — ожидает согласования продавца;
31627
+ * - `REJECT_BY_SELLER` — отклонён продавцом;
31628
+ * - `AGREEMENT_WITH_SELLER` — согласован продавцом;
31629
+ * - `ACCEPTED` — согласование завершено.
31630
+ * @default UNSPECIFIED
31631
+ * @enum {string}
31632
+ */
31633
+ "supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs.SupplyActs.ActState.Enum": "UNSPECIFIED" | "AWAITING_APPROVAL_BY_SELLER" | "REJECT_BY_SELLER" | "AGREEMENT_WITH_SELLER" | "ACCEPTED";
31634
+ /** @description Сумма с НДС. */
31635
+ "money.MoneySupplyActAmount": {
31636
+ /** @description Сумма. */
31637
+ amount?: string;
31638
+ /** @description Валюта. */
31639
+ currency?: string;
31640
+ };
31641
+ /** @description Сумма НДС. */
31642
+ "money.MoneySupplyActAmountVat": {
31643
+ /** @description Сумма. */
31644
+ amount?: string;
31645
+ /** @description Валюта. */
31646
+ currency?: string;
31647
+ };
31648
+ /** @description Сумма без НДС. */
31649
+ "money.MoneySupplyActAmountWithoutVat": {
31650
+ /** @description Сумма. */
31651
+ amount?: string;
31652
+ /** @description Валюта. */
31653
+ currency?: string;
31654
+ };
31655
+ /** @description Согласованная стоимость товаров. */
31656
+ "supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs.SupplyActs.Summary.ApprovedAmount": {
31657
+ amount?: components["schemas"]["money.MoneySupplyActAmount"];
31658
+ amount_vat?: components["schemas"]["money.MoneySupplyActAmountVat"];
31659
+ amount_without_vat?: components["schemas"]["money.MoneySupplyActAmountWithoutVat"];
31660
+ };
31661
+ /** @description Фактическая стоимость товаров. */
31662
+ "supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs.SupplyActs.Summary.FactAmount": {
31663
+ amount?: components["schemas"]["money.MoneySupplyActAmount"];
31664
+ amount_vat?: components["schemas"]["money.MoneySupplyActAmountVat"];
31665
+ amount_without_vat?: components["schemas"]["money.MoneySupplyActAmountWithoutVat"];
31666
+ };
31667
+ /** @description Информация о товарах в акте. */
31668
+ "supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs.SupplyActs.Summary": {
31669
+ approved_amount?: components["schemas"]["supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs.SupplyActs.Summary.ApprovedAmount"];
31670
+ /**
31671
+ * Format: int32
31672
+ * @description Количество согласованных товаров.
31673
+ */
31674
+ approved_quantity?: number;
31675
+ /**
31676
+ * Format: int32
31677
+ * @description Количество заявленных товаров.
31678
+ */
31679
+ declared_quantity?: number;
31680
+ fact_amount?: components["schemas"]["supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs.SupplyActs.Summary.FactAmount"];
31681
+ /**
31682
+ * Format: int32
31683
+ * @description Количество принятых товаров.
31684
+ */
31685
+ fact_quantity?: number;
31686
+ /**
31687
+ * Format: int32
31688
+ * @description Общее количество товаров.
31689
+ */
31690
+ sku_quantity?: number;
31691
+ /**
31692
+ * Format: int32
31693
+ * @description Количество неопознанных излишков.
31694
+ */
31695
+ unidentified_quantity?: number;
31696
+ };
31697
+ /**
31698
+ * @description Тип акта:
31699
+ * - `UNSPECIFIED` — не определён;
31700
+ * - `ACCEPTANCE` — акт приёмки;
31701
+ * - `DEFECT` — акт о браке;
31702
+ * - `SURPLUS` — акт об излишках;
31703
+ * - `SHORTCOMING` — акт о недостаче.
31704
+ * @default UNSPECIFIED
31705
+ * @enum {string}
31706
+ */
31707
+ "supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs.SupplyActs.Type.Enum": "UNSPECIFIED" | "ACCEPTANCE" | "DEFECT" | "SURPLUS" | "SHORTCOMING";
31708
+ "supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs.SupplyActs": {
31709
+ /**
31710
+ * Format: int64
31711
+ * @description Идентификатор акта.
31712
+ */
31713
+ act_id?: number;
31714
+ /** @description Номер акта. */
31715
+ act_number?: string;
31716
+ act_state?: components["schemas"]["supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs.SupplyActs.ActState.Enum"];
31717
+ /** @description Дата создания акта. */
31718
+ created_date?: string;
31719
+ /**
31720
+ * Format: date-time
31721
+ * @description Дата и время, до которой можно работать с актом.
31722
+ */
31723
+ deadline_utc?: string;
31724
+ summary?: components["schemas"]["supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs.SupplyActs.Summary"];
31725
+ type?: components["schemas"]["supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs.SupplyActs.Type.Enum"];
31726
+ };
31727
+ "supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs": {
31728
+ /** @description `true`, если все акты согласованы. */
31729
+ is_agreement_completed?: boolean;
31730
+ /** @description Информация об актах. */
31731
+ supply_acts?: components["schemas"]["supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs.SupplyActs"][];
31732
+ /**
31733
+ * Format: int64
31734
+ * @description Идентификатор поставки.
31735
+ */
31736
+ supply_id?: number;
31737
+ };
31738
+ "supply_order.v1.SupplyOrderActSummaryGetResponse": {
31739
+ /** @description Список актов. */
31740
+ supplies_acts?: components["schemas"]["supply_order.v1.SupplyOrderActSummaryGetResponse.SuppliesActs"][];
31741
+ };
31742
+ "supply_order.v1.SupplyOrderActProductGetRequest": {
31743
+ /**
31744
+ * Format: int64
31745
+ * @description Идентификатор поставки.
31746
+ */
31747
+ supply_id: number;
31748
+ };
31749
+ "supply_order.v1.SupplyOrderActProductGetResponse.SkusDefects": {
31750
+ /** @description Причины брака. */
31751
+ defect_reasons?: string[];
31752
+ /**
31753
+ * Format: int64
31754
+ * @description Идентификатор товара.
31755
+ */
31756
+ sku?: number;
31757
+ };
31758
+ /** @description Согласованная стоимость товаров. */
31759
+ "supply_order.v1.SupplyOrderActProductGetResponse.SupplyActs.Items.ApprovedAmount": {
31760
+ amount?: components["schemas"]["money.MoneySupplyActAmount"];
31761
+ amount_vat?: components["schemas"]["money.MoneySupplyActAmountVat"];
31762
+ amount_without_vat?: components["schemas"]["money.MoneySupplyActAmountWithoutVat"];
31763
+ };
31764
+ /** @description Фактическая стоимость товаров. */
31765
+ "supply_order.v1.SupplyOrderActProductGetResponse.SupplyActs.Items.FactAmount": {
31766
+ amount?: components["schemas"]["money.MoneySupplyActAmount"];
31767
+ amount_vat?: components["schemas"]["money.MoneySupplyActAmountVat"];
31768
+ amount_without_vat?: components["schemas"]["money.MoneySupplyActAmountWithoutVat"];
31769
+ };
31770
+ /** @description Цена товара без НДС. */
31771
+ "money.MoneyPriceWithoutVat": {
31772
+ /** @description Сумма. */
31773
+ amount?: string;
31774
+ /** @description Валюта. */
31775
+ currency?: string;
31776
+ };
31777
+ /** @description Информация о товаре. */
31778
+ "supply_order.v1.SupplyOrderActProductGetResponse.SupplyActs.Items.SkuInfo": {
31779
+ /** @description Штрихкод товара. */
31780
+ barcode?: string;
31781
+ /** @description Ссылка на изображение товара. */
31782
+ image_link?: string;
31783
+ /** @description Название товара. */
31784
+ name?: string;
31785
+ /** @description Артикул товара. */
31786
+ offer_id?: string;
31787
+ price_without_vat?: components["schemas"]["money.MoneyPriceWithoutVat"];
31788
+ /**
31789
+ * Format: int64
31790
+ * @description Идентификатор товара.
31791
+ */
31792
+ sku?: number;
31793
+ /**
31794
+ * Format: float
31795
+ * @description Ставка НДС.
31796
+ */
31797
+ vat?: number;
31798
+ };
31799
+ "supply_order.v1.SupplyOrderActProductGetResponse.SupplyActs.Items": {
31800
+ approved_amount?: components["schemas"]["supply_order.v1.SupplyOrderActProductGetResponse.SupplyActs.Items.ApprovedAmount"];
31801
+ /**
31802
+ * Format: int32
31803
+ * @description Количество согласованного товара в акте.
31804
+ */
31805
+ approved_quantity?: number;
31806
+ /**
31807
+ * Format: int32
31808
+ * @description Количество заявленного товара в акте.
31809
+ */
31810
+ declared_quantity?: number;
31811
+ fact_amount?: components["schemas"]["supply_order.v1.SupplyOrderActProductGetResponse.SupplyActs.Items.FactAmount"];
31812
+ /**
31813
+ * Format: int32
31814
+ * @description Количество принятого товара.
31815
+ */
31816
+ fact_quantity?: number;
31817
+ sku_info?: components["schemas"]["supply_order.v1.SupplyOrderActProductGetResponse.SupplyActs.Items.SkuInfo"];
31818
+ };
31819
+ /**
31820
+ * @description Тип акта:
31821
+ * - `UNSPECIFIED` — не определён;
31822
+ * - `ACCEPTANCE` — акт приёмки;
31823
+ * - `DEFECT` — акт о браке;
31824
+ * - `SURPLUS` — акт об излишках;
31825
+ * - `SHORTCOMING` — акт о недостаче.
31826
+ * @default UNSPECIFIED
31827
+ * @enum {string}
31828
+ */
31829
+ "supply_order.v1.SupplyOrderActProductGetResponse.SupplyActs.Type.Enum": "UNSPECIFIED" | "ACCEPTANCE" | "DEFECT" | "SURPLUS" | "SHORTCOMING";
31830
+ "supply_order.v1.SupplyOrderActProductGetResponse.SupplyActs": {
31831
+ /**
31832
+ * Format: int64
31833
+ * @description Идентификатор акта.
31834
+ */
31835
+ act_id?: number;
31836
+ /** @description Список товаров в акте. */
31837
+ items?: components["schemas"]["supply_order.v1.SupplyOrderActProductGetResponse.SupplyActs.Items"][];
31838
+ type?: components["schemas"]["supply_order.v1.SupplyOrderActProductGetResponse.SupplyActs.Type.Enum"];
31839
+ /**
31840
+ * Format: int32
31841
+ * @description Количество неопознанных излишков.
31842
+ */
31843
+ unidentified_quantity?: number;
31844
+ };
31845
+ "supply_order.v1.SupplyOrderActProductGetResponse": {
31846
+ /** @description Список товаров с браком. */
31847
+ skus_defects?: components["schemas"]["supply_order.v1.SupplyOrderActProductGetResponse.SkusDefects"][];
31848
+ /** @description Список актов в поставке. */
31849
+ supply_acts?: components["schemas"]["supply_order.v1.SupplyOrderActProductGetResponse.SupplyActs"][];
31850
+ /**
31851
+ * Format: int64
31852
+ * @description Идентификатор поставки.
31853
+ */
31854
+ supply_id?: number;
31855
+ };
31856
+ "supply_order.v1.SupplyOrderActAcceptRequest": {
31857
+ /**
31858
+ * Format: int64
31859
+ * @description Идентификатор акта из методов [/v1/supply-order/act/summary/get](#operation/SupplyOrderActSummaryGet) или [/v1/supply-order/act/product/get](#operation/SupplyOrderActProductGet).
31860
+ */
31861
+ act_id: number;
31862
+ };
31863
+ /**
31864
+ * @default UNSPECIFIED
31865
+ * @enum {string}
31866
+ */
31867
+ "supply_order.v1.SupplyOrderActAcceptResponse.ErrorReasons.Enum": "UNSPECIFIED" | "INVALID_STATE" | "SUPPLY_WITH_UTD";
31868
+ "supply_order.v1.SupplyOrderActAcceptResponse": {
31869
+ /**
31870
+ * @description Ошибки при принятии акта:
31871
+ * - `UNSPECIFIED` — не определена;
31872
+ * - `INVALID_STATE` — некорректный статус;
31873
+ * - `SUPPLY_WITH_UTD` — поставка с УПД.
31874
+ */
31875
+ error_reasons?: components["schemas"]["supply_order.v1.SupplyOrderActAcceptResponse.ErrorReasons.Enum"][];
31876
+ /** @description Идентификатор операции. */
31877
+ operation_id?: string;
31878
+ };
31879
+ "supply_order.v1.SupplyOrderActAcceptStatusRequest": {
31880
+ /** @description Идентификатор операции из метода [/v1/supply-order/act/accept](#operation/SupplyOrderActAccept). */
31881
+ operation_id: string;
31882
+ };
31883
+ /**
31884
+ * @description Статус операции:
31885
+ * - `SUCCESS` — акт согласован;
31886
+ * - `IN_PROGRESS` — согласование в процессе;
31887
+ * - `FAILED` — ошибка при согласовании акта.
31888
+ * @default SUCCESS
31889
+ * @enum {string}
31890
+ */
31891
+ "supply_order.v1.SupplyOrderActAcceptStatusResponse.Status.Enum": "SUCCESS" | "IN_PROGRESS" | "FAILED";
31892
+ "supply_order.v1.SupplyOrderActAcceptStatusResponse": {
31893
+ status?: components["schemas"]["supply_order.v1.SupplyOrderActAcceptStatusResponse.Status.Enum"];
31894
+ /** @description Причина ошибки. */
31895
+ error_message?: string;
31896
+ };
31720
31897
  /** @description Координаты. */
31721
31898
  v1ListDropOffPointsForCreateFBSWarehouseRequestCoordinates: {
31722
31899
  /**
@@ -56226,376 +56403,6 @@ interface operations {
56226
56403
  };
56227
56404
  };
56228
56405
  };
56229
- RFBSReturnsAPI_ReturnsRfbsRejectV2: {
56230
- parameters: {
56231
- query?: never;
56232
- header: {
56233
- /** @description Идентификатор клиента. */
56234
- "Client-Id": components["parameters"]["Client-Id"];
56235
- /** @description API-ключ. */
56236
- "Api-Key": components["parameters"]["Api-Key"];
56237
- };
56238
- path?: never;
56239
- cookie?: never;
56240
- };
56241
- requestBody: {
56242
- content: {
56243
- "application/json": components["schemas"]["v2ReturnsRfbsRejectRequest"];
56244
- };
56245
- };
56246
- responses: {
56247
- /** @description Заявка отклонена */
56248
- 200: {
56249
- headers: {
56250
- [name: string]: unknown;
56251
- };
56252
- content: {
56253
- "application/json": components["schemas"]["v1Empty"];
56254
- };
56255
- };
56256
- /** @description Неверный параметр */
56257
- 400: {
56258
- headers: {
56259
- [name: string]: unknown;
56260
- };
56261
- content: {
56262
- "application/json": components["schemas"]["rpcStatus"];
56263
- };
56264
- };
56265
- /** @description Доступ запрещён */
56266
- 403: {
56267
- headers: {
56268
- [name: string]: unknown;
56269
- };
56270
- content: {
56271
- "application/json": components["schemas"]["rpcStatus"];
56272
- };
56273
- };
56274
- /** @description Ответ не найден */
56275
- 404: {
56276
- headers: {
56277
- [name: string]: unknown;
56278
- };
56279
- content: {
56280
- "application/json": components["schemas"]["rpcStatus"];
56281
- };
56282
- };
56283
- /** @description Конфликт запроса */
56284
- 409: {
56285
- headers: {
56286
- [name: string]: unknown;
56287
- };
56288
- content: {
56289
- "application/json": components["schemas"]["rpcStatus"];
56290
- };
56291
- };
56292
- /** @description Внутренняя ошибка сервера */
56293
- 500: {
56294
- headers: {
56295
- [name: string]: unknown;
56296
- };
56297
- content: {
56298
- "application/json": components["schemas"]["rpcStatus"];
56299
- };
56300
- };
56301
- };
56302
- };
56303
- RFBSReturnsAPI_ReturnsRfbsCompensateV2: {
56304
- parameters: {
56305
- query?: never;
56306
- header: {
56307
- /** @description Идентификатор клиента. */
56308
- "Client-Id": components["parameters"]["Client-Id"];
56309
- /** @description API-ключ. */
56310
- "Api-Key": components["parameters"]["Api-Key"];
56311
- };
56312
- path?: never;
56313
- cookie?: never;
56314
- };
56315
- requestBody: {
56316
- content: {
56317
- "application/json": components["schemas"]["v2ReturnsRfbsCompensateRequest"];
56318
- };
56319
- };
56320
- responses: {
56321
- /** @description Частичная компенсация подтверждена */
56322
- 200: {
56323
- headers: {
56324
- [name: string]: unknown;
56325
- };
56326
- content: {
56327
- "application/json": components["schemas"]["v1Empty"];
56328
- };
56329
- };
56330
- /** @description Неверный параметр */
56331
- 400: {
56332
- headers: {
56333
- [name: string]: unknown;
56334
- };
56335
- content: {
56336
- "application/json": components["schemas"]["rpcStatus"];
56337
- };
56338
- };
56339
- /** @description Доступ запрещён */
56340
- 403: {
56341
- headers: {
56342
- [name: string]: unknown;
56343
- };
56344
- content: {
56345
- "application/json": components["schemas"]["rpcStatus"];
56346
- };
56347
- };
56348
- /** @description Ответ не найден */
56349
- 404: {
56350
- headers: {
56351
- [name: string]: unknown;
56352
- };
56353
- content: {
56354
- "application/json": components["schemas"]["rpcStatus"];
56355
- };
56356
- };
56357
- /** @description Конфликт запроса */
56358
- 409: {
56359
- headers: {
56360
- [name: string]: unknown;
56361
- };
56362
- content: {
56363
- "application/json": components["schemas"]["rpcStatus"];
56364
- };
56365
- };
56366
- /** @description Внутренняя ошибка сервера */
56367
- 500: {
56368
- headers: {
56369
- [name: string]: unknown;
56370
- };
56371
- content: {
56372
- "application/json": components["schemas"]["rpcStatus"];
56373
- };
56374
- };
56375
- };
56376
- };
56377
- RFBSReturnsAPI_ReturnsRfbsVerifyV2: {
56378
- parameters: {
56379
- query?: never;
56380
- header: {
56381
- /** @description Идентификатор клиента. */
56382
- "Client-Id": components["parameters"]["Client-Id"];
56383
- /** @description API-ключ. */
56384
- "Api-Key": components["parameters"]["Api-Key"];
56385
- };
56386
- path?: never;
56387
- cookie?: never;
56388
- };
56389
- requestBody: {
56390
- content: {
56391
- "application/json": components["schemas"]["v2ReturnsRfbsVerifyRequest"];
56392
- };
56393
- };
56394
- responses: {
56395
- /** @description Заявка одобрена */
56396
- 200: {
56397
- headers: {
56398
- [name: string]: unknown;
56399
- };
56400
- content: {
56401
- "application/json": components["schemas"]["v1Empty"];
56402
- };
56403
- };
56404
- /** @description Неверный параметр */
56405
- 400: {
56406
- headers: {
56407
- [name: string]: unknown;
56408
- };
56409
- content: {
56410
- "application/json": components["schemas"]["rpcStatus"];
56411
- };
56412
- };
56413
- /** @description Доступ запрещён */
56414
- 403: {
56415
- headers: {
56416
- [name: string]: unknown;
56417
- };
56418
- content: {
56419
- "application/json": components["schemas"]["rpcStatus"];
56420
- };
56421
- };
56422
- /** @description Ответ не найден */
56423
- 404: {
56424
- headers: {
56425
- [name: string]: unknown;
56426
- };
56427
- content: {
56428
- "application/json": components["schemas"]["rpcStatus"];
56429
- };
56430
- };
56431
- /** @description Конфликт запроса */
56432
- 409: {
56433
- headers: {
56434
- [name: string]: unknown;
56435
- };
56436
- content: {
56437
- "application/json": components["schemas"]["rpcStatus"];
56438
- };
56439
- };
56440
- /** @description Внутренняя ошибка сервера */
56441
- 500: {
56442
- headers: {
56443
- [name: string]: unknown;
56444
- };
56445
- content: {
56446
- "application/json": components["schemas"]["rpcStatus"];
56447
- };
56448
- };
56449
- };
56450
- };
56451
- RFBSReturnsAPI_ReturnsRfbsReceiveReturnV2: {
56452
- parameters: {
56453
- query?: never;
56454
- header: {
56455
- /** @description Идентификатор клиента. */
56456
- "Client-Id": components["parameters"]["Client-Id"];
56457
- /** @description API-ключ. */
56458
- "Api-Key": components["parameters"]["Api-Key"];
56459
- };
56460
- path?: never;
56461
- cookie?: never;
56462
- };
56463
- requestBody: {
56464
- content: {
56465
- "application/json": components["schemas"]["v2ReturnsRfbsReceiveReturnRequest"];
56466
- };
56467
- };
56468
- responses: {
56469
- /** @description Получение подтверждено */
56470
- 200: {
56471
- headers: {
56472
- [name: string]: unknown;
56473
- };
56474
- content: {
56475
- "application/json": components["schemas"]["v1Empty"];
56476
- };
56477
- };
56478
- /** @description Неверный параметр */
56479
- 400: {
56480
- headers: {
56481
- [name: string]: unknown;
56482
- };
56483
- content: {
56484
- "application/json": components["schemas"]["rpcStatus"];
56485
- };
56486
- };
56487
- /** @description Доступ запрещён */
56488
- 403: {
56489
- headers: {
56490
- [name: string]: unknown;
56491
- };
56492
- content: {
56493
- "application/json": components["schemas"]["rpcStatus"];
56494
- };
56495
- };
56496
- /** @description Ответ не найден */
56497
- 404: {
56498
- headers: {
56499
- [name: string]: unknown;
56500
- };
56501
- content: {
56502
- "application/json": components["schemas"]["rpcStatus"];
56503
- };
56504
- };
56505
- /** @description Конфликт запроса */
56506
- 409: {
56507
- headers: {
56508
- [name: string]: unknown;
56509
- };
56510
- content: {
56511
- "application/json": components["schemas"]["rpcStatus"];
56512
- };
56513
- };
56514
- /** @description Внутренняя ошибка сервера */
56515
- 500: {
56516
- headers: {
56517
- [name: string]: unknown;
56518
- };
56519
- content: {
56520
- "application/json": components["schemas"]["rpcStatus"];
56521
- };
56522
- };
56523
- };
56524
- };
56525
- RFBSReturnsAPI_ReturnsRfbsReturnMoneyV2: {
56526
- parameters: {
56527
- query?: never;
56528
- header: {
56529
- /** @description Идентификатор клиента. */
56530
- "Client-Id": components["parameters"]["Client-Id"];
56531
- /** @description API-ключ. */
56532
- "Api-Key": components["parameters"]["Api-Key"];
56533
- };
56534
- path?: never;
56535
- cookie?: never;
56536
- };
56537
- requestBody: {
56538
- content: {
56539
- "application/json": components["schemas"]["v2ReturnsRfbsReturnMoneyRequest"];
56540
- };
56541
- };
56542
- responses: {
56543
- /** @description Возврат денег подтверждён */
56544
- 200: {
56545
- headers: {
56546
- [name: string]: unknown;
56547
- };
56548
- content: {
56549
- "application/json": components["schemas"]["v1Empty"];
56550
- };
56551
- };
56552
- /** @description Неверный параметр */
56553
- 400: {
56554
- headers: {
56555
- [name: string]: unknown;
56556
- };
56557
- content: {
56558
- "application/json": components["schemas"]["rpcStatus"];
56559
- };
56560
- };
56561
- /** @description Доступ запрещён */
56562
- 403: {
56563
- headers: {
56564
- [name: string]: unknown;
56565
- };
56566
- content: {
56567
- "application/json": components["schemas"]["rpcStatus"];
56568
- };
56569
- };
56570
- /** @description Ответ не найден */
56571
- 404: {
56572
- headers: {
56573
- [name: string]: unknown;
56574
- };
56575
- content: {
56576
- "application/json": components["schemas"]["rpcStatus"];
56577
- };
56578
- };
56579
- /** @description Конфликт запроса */
56580
- 409: {
56581
- headers: {
56582
- [name: string]: unknown;
56583
- };
56584
- content: {
56585
- "application/json": components["schemas"]["rpcStatus"];
56586
- };
56587
- };
56588
- /** @description Внутренняя ошибка сервера */
56589
- 500: {
56590
- headers: {
56591
- [name: string]: unknown;
56592
- };
56593
- content: {
56594
- "application/json": components["schemas"]["rpcStatus"];
56595
- };
56596
- };
56597
- };
56598
- };
56599
56406
  ReturnsAPI_ReturnsRfbsActionSet: {
56600
56407
  parameters: {
56601
56408
  query?: never;
@@ -62194,6 +62001,302 @@ interface operations {
62194
62001
  };
62195
62002
  };
62196
62003
  };
62004
+ SupplyOrderActSummaryGet: {
62005
+ parameters: {
62006
+ query?: never;
62007
+ header: {
62008
+ /** @description Идентификатор клиента. */
62009
+ "Client-Id": components["parameters"]["Client-Id"];
62010
+ /** @description API-ключ. */
62011
+ "Api-Key": components["parameters"]["Api-Key"];
62012
+ };
62013
+ path?: never;
62014
+ cookie?: never;
62015
+ };
62016
+ requestBody?: {
62017
+ content: {
62018
+ "application/json": components["schemas"]["supply_order.v1.SupplyOrderActSummaryGetRequest"];
62019
+ };
62020
+ };
62021
+ responses: {
62022
+ /** @description Информация об акте */
62023
+ 200: {
62024
+ headers: {
62025
+ [name: string]: unknown;
62026
+ };
62027
+ content: {
62028
+ "application/json": components["schemas"]["supply_order.v1.SupplyOrderActSummaryGetResponse"];
62029
+ };
62030
+ };
62031
+ /** @description Неверный параметр */
62032
+ 400: {
62033
+ headers: {
62034
+ [name: string]: unknown;
62035
+ };
62036
+ content: {
62037
+ "application/json": components["schemas"]["rpcStatus"];
62038
+ };
62039
+ };
62040
+ /** @description Доступ запрещён */
62041
+ 403: {
62042
+ headers: {
62043
+ [name: string]: unknown;
62044
+ };
62045
+ content: {
62046
+ "application/json": components["schemas"]["rpcStatus"];
62047
+ };
62048
+ };
62049
+ /** @description Ответ не найден */
62050
+ 404: {
62051
+ headers: {
62052
+ [name: string]: unknown;
62053
+ };
62054
+ content: {
62055
+ "application/json": components["schemas"]["rpcStatus"];
62056
+ };
62057
+ };
62058
+ /** @description Конфликт запроса */
62059
+ 409: {
62060
+ headers: {
62061
+ [name: string]: unknown;
62062
+ };
62063
+ content: {
62064
+ "application/json": components["schemas"]["rpcStatus"];
62065
+ };
62066
+ };
62067
+ /** @description Внутренняя ошибка сервера */
62068
+ 500: {
62069
+ headers: {
62070
+ [name: string]: unknown;
62071
+ };
62072
+ content: {
62073
+ "application/json": components["schemas"]["rpcStatus"];
62074
+ };
62075
+ };
62076
+ };
62077
+ };
62078
+ SupplyOrderActProductGet: {
62079
+ parameters: {
62080
+ query?: never;
62081
+ header: {
62082
+ /** @description Идентификатор клиента. */
62083
+ "Client-Id": components["parameters"]["Client-Id"];
62084
+ /** @description API-ключ. */
62085
+ "Api-Key": components["parameters"]["Api-Key"];
62086
+ };
62087
+ path?: never;
62088
+ cookie?: never;
62089
+ };
62090
+ requestBody?: {
62091
+ content: {
62092
+ "application/json": components["schemas"]["supply_order.v1.SupplyOrderActProductGetRequest"];
62093
+ };
62094
+ };
62095
+ responses: {
62096
+ /** @description Информация о товарах в акте */
62097
+ 200: {
62098
+ headers: {
62099
+ [name: string]: unknown;
62100
+ };
62101
+ content: {
62102
+ "application/json": components["schemas"]["supply_order.v1.SupplyOrderActProductGetResponse"];
62103
+ };
62104
+ };
62105
+ /** @description Неверный параметр */
62106
+ 400: {
62107
+ headers: {
62108
+ [name: string]: unknown;
62109
+ };
62110
+ content: {
62111
+ "application/json": components["schemas"]["rpcStatus"];
62112
+ };
62113
+ };
62114
+ /** @description Доступ запрещён */
62115
+ 403: {
62116
+ headers: {
62117
+ [name: string]: unknown;
62118
+ };
62119
+ content: {
62120
+ "application/json": components["schemas"]["rpcStatus"];
62121
+ };
62122
+ };
62123
+ /** @description Ответ не найден */
62124
+ 404: {
62125
+ headers: {
62126
+ [name: string]: unknown;
62127
+ };
62128
+ content: {
62129
+ "application/json": components["schemas"]["rpcStatus"];
62130
+ };
62131
+ };
62132
+ /** @description Конфликт запроса */
62133
+ 409: {
62134
+ headers: {
62135
+ [name: string]: unknown;
62136
+ };
62137
+ content: {
62138
+ "application/json": components["schemas"]["rpcStatus"];
62139
+ };
62140
+ };
62141
+ /** @description Внутренняя ошибка сервера */
62142
+ 500: {
62143
+ headers: {
62144
+ [name: string]: unknown;
62145
+ };
62146
+ content: {
62147
+ "application/json": components["schemas"]["rpcStatus"];
62148
+ };
62149
+ };
62150
+ };
62151
+ };
62152
+ SupplyOrderActAccept: {
62153
+ parameters: {
62154
+ query?: never;
62155
+ header: {
62156
+ /** @description Идентификатор клиента. */
62157
+ "Client-Id": components["parameters"]["Client-Id"];
62158
+ /** @description API-ключ. */
62159
+ "Api-Key": components["parameters"]["Api-Key"];
62160
+ };
62161
+ path?: never;
62162
+ cookie?: never;
62163
+ };
62164
+ requestBody?: {
62165
+ content: {
62166
+ "application/json": components["schemas"]["supply_order.v1.SupplyOrderActAcceptRequest"];
62167
+ };
62168
+ };
62169
+ responses: {
62170
+ /** @description Акт согласован */
62171
+ 200: {
62172
+ headers: {
62173
+ [name: string]: unknown;
62174
+ };
62175
+ content: {
62176
+ "application/json": components["schemas"]["supply_order.v1.SupplyOrderActAcceptResponse"];
62177
+ };
62178
+ };
62179
+ /** @description Неверный параметр */
62180
+ 400: {
62181
+ headers: {
62182
+ [name: string]: unknown;
62183
+ };
62184
+ content: {
62185
+ "application/json": components["schemas"]["rpcStatus"];
62186
+ };
62187
+ };
62188
+ /** @description Доступ запрещён */
62189
+ 403: {
62190
+ headers: {
62191
+ [name: string]: unknown;
62192
+ };
62193
+ content: {
62194
+ "application/json": components["schemas"]["rpcStatus"];
62195
+ };
62196
+ };
62197
+ /** @description Ответ не найден */
62198
+ 404: {
62199
+ headers: {
62200
+ [name: string]: unknown;
62201
+ };
62202
+ content: {
62203
+ "application/json": components["schemas"]["rpcStatus"];
62204
+ };
62205
+ };
62206
+ /** @description Конфликт запроса */
62207
+ 409: {
62208
+ headers: {
62209
+ [name: string]: unknown;
62210
+ };
62211
+ content: {
62212
+ "application/json": components["schemas"]["rpcStatus"];
62213
+ };
62214
+ };
62215
+ /** @description Внутренняя ошибка сервера */
62216
+ 500: {
62217
+ headers: {
62218
+ [name: string]: unknown;
62219
+ };
62220
+ content: {
62221
+ "application/json": components["schemas"]["rpcStatus"];
62222
+ };
62223
+ };
62224
+ };
62225
+ };
62226
+ SupplyOrderActAcceptStatus: {
62227
+ parameters: {
62228
+ query?: never;
62229
+ header: {
62230
+ /** @description Идентификатор клиента. */
62231
+ "Client-Id": components["parameters"]["Client-Id"];
62232
+ /** @description API-ключ. */
62233
+ "Api-Key": components["parameters"]["Api-Key"];
62234
+ };
62235
+ path?: never;
62236
+ cookie?: never;
62237
+ };
62238
+ requestBody?: {
62239
+ content: {
62240
+ "application/json": components["schemas"]["supply_order.v1.SupplyOrderActAcceptStatusRequest"];
62241
+ };
62242
+ };
62243
+ responses: {
62244
+ /** @description Статус согласования акта */
62245
+ 200: {
62246
+ headers: {
62247
+ [name: string]: unknown;
62248
+ };
62249
+ content: {
62250
+ "application/json": components["schemas"]["supply_order.v1.SupplyOrderActAcceptStatusResponse"];
62251
+ };
62252
+ };
62253
+ /** @description Неверный параметр */
62254
+ 400: {
62255
+ headers: {
62256
+ [name: string]: unknown;
62257
+ };
62258
+ content: {
62259
+ "application/json": components["schemas"]["rpcStatus"];
62260
+ };
62261
+ };
62262
+ /** @description Доступ запрещён */
62263
+ 403: {
62264
+ headers: {
62265
+ [name: string]: unknown;
62266
+ };
62267
+ content: {
62268
+ "application/json": components["schemas"]["rpcStatus"];
62269
+ };
62270
+ };
62271
+ /** @description Ответ не найден */
62272
+ 404: {
62273
+ headers: {
62274
+ [name: string]: unknown;
62275
+ };
62276
+ content: {
62277
+ "application/json": components["schemas"]["rpcStatus"];
62278
+ };
62279
+ };
62280
+ /** @description Конфликт запроса */
62281
+ 409: {
62282
+ headers: {
62283
+ [name: string]: unknown;
62284
+ };
62285
+ content: {
62286
+ "application/json": components["schemas"]["rpcStatus"];
62287
+ };
62288
+ };
62289
+ /** @description Внутренняя ошибка сервера */
62290
+ 500: {
62291
+ headers: {
62292
+ [name: string]: unknown;
62293
+ };
62294
+ content: {
62295
+ "application/json": components["schemas"]["rpcStatus"];
62296
+ };
62297
+ };
62298
+ };
62299
+ };
62197
62300
  WarehouseAPI_ListDropOffPointsForCreateFBSWarehouse: {
62198
62301
  parameters: {
62199
62302
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "artefactby-ozon-seller-api",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Unofficial typed TypeScript client for the Ozon Seller API. Zero runtime dependencies.",
5
5
  "keywords": [
6
6
  "ozon",