artefactby-ozon-seller-api 0.2.1 → 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 +673 -573
  2. package/package.json +6 -2
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;
@@ -17463,12 +17418,11 @@ interface components {
17463
17418
  * @description Режим удаления SKU, которые не попали в поставку.
17464
17419
  *
17465
17420
  * Возможные значения:
17466
- * - `PARTIAL` — система удалит только те единицы SKU, которые не прошли проверку;
17467
- * - `FULL` — система удалит все единицы SKU, если хотя бы 1 единица этого SKU не прошла проверку.
17468
- * @default PARTIAL
17421
+ * - `PARTIAL` — система удалит только те единицы SKU, которые не прошли проверку;
17422
+ * - `FULL` — система удалит все единицы SKU, если хотя бы одна единица этого SKU не прошла проверку.
17469
17423
  * @enum {string}
17470
17424
  */
17471
- v1DraftCrossdockCreateRequestDeleteSkuModeEnum: "PARTIAL" | "FULL";
17425
+ v1DraftCrossdockCreateRequestDeleteSkuModeEnum: "FULL" | "PARTIAL";
17472
17426
  /**
17473
17427
  * @description Тип склада, пункта выдачи заказов или сортировочного центра:
17474
17428
  * - `DELIVERY_POINT` — пункт выдачи заказов;
@@ -17509,7 +17463,7 @@ interface components {
17509
17463
  };
17510
17464
  v1DraftCrossdockCreateRequest: {
17511
17465
  cluster_info: components["schemas"]["v1DraftCrossdockCreateRequestClusterInfo"];
17512
- deletion_sku_mode?: components["schemas"]["v1DraftCrossdockCreateRequestDeleteSkuModeEnum"];
17466
+ deletion_sku_mode: components["schemas"]["v1DraftCrossdockCreateRequestDeleteSkuModeEnum"];
17513
17467
  delivery_info: components["schemas"]["v1DraftCrossdockCreateRequestDeliveryInfo"];
17514
17468
  };
17515
17469
  /**
@@ -17648,15 +17602,14 @@ interface components {
17648
17602
  * @description Режим удаления SKU, которые не попали в поставку.
17649
17603
  *
17650
17604
  * Возможные значения:
17651
- * - `PARTIAL` — система удалит только те единицы SKU, которые не прошли проверку;
17652
- * - `FULL` — система удалит все единицы SKU, если хотя бы 1 единица этого SKU не прошла проверку.
17653
- * @default PARTIAL
17605
+ * - `PARTIAL` — система удалит только те единицы SKU, которые не прошли проверку;
17606
+ * - `FULL` — система удалит все единицы SKU, если хотя бы одна единица этого SKU не прошла проверку.
17654
17607
  * @enum {string}
17655
17608
  */
17656
- v1DraftDirectCreateRequestDeleteSkuModeEnum: "PARTIAL" | "FULL";
17609
+ v1DraftDirectCreateRequestDeleteSkuModeEnum: "FULL" | "PARTIAL";
17657
17610
  v1DraftDirectCreateRequest: {
17658
17611
  cluster_info: components["schemas"]["v1DraftDirectCreateRequestClusterInfo"];
17659
- deletion_sku_mode?: components["schemas"]["v1DraftDirectCreateRequestDeleteSkuModeEnum"];
17612
+ deletion_sku_mode: components["schemas"]["v1DraftDirectCreateRequestDeleteSkuModeEnum"];
17660
17613
  };
17661
17614
  v1DraftMultiClusterCreateRequestClusterInfoItem: {
17662
17615
  /**
@@ -17683,12 +17636,11 @@ interface components {
17683
17636
  * @description Режим удаления SKU, которые не попали в поставку.
17684
17637
  *
17685
17638
  * Возможные значения:
17686
- * - `PARTIAL` — система удалит только те единицы SKU, которые не прошли проверку;
17687
- * - `FULL` — система удалит все единицы SKU, если хотя бы 1 единица этого SKU не прошла проверку.
17688
- * @default PARTIAL
17639
+ * - `PARTIAL` — система удалит только те единицы SKU, которые не прошли проверку;
17640
+ * - `FULL` — система удалит все единицы SKU, если хотя бы одна единица этого SKU не прошла проверку.
17689
17641
  * @enum {string}
17690
17642
  */
17691
- v1DraftMultiClusterCreateRequestDeleteSkuModeEnum: "PARTIAL" | "FULL";
17643
+ v1DraftMultiClusterCreateRequestDeleteSkuModeEnum: "FULL" | "PARTIAL";
17692
17644
  /**
17693
17645
  * @description Тип пункта отгрузки:
17694
17646
  * - `DELIVERY_POINT` — пункт выдачи заказов;
@@ -17730,7 +17682,7 @@ interface components {
17730
17682
  v1DraftMultiClusterCreateRequest: {
17731
17683
  /** @description Информация о кластерах. */
17732
17684
  clusters_info: components["schemas"]["v1DraftMultiClusterCreateRequestClusterInfo"][];
17733
- deletion_sku_mode?: components["schemas"]["v1DraftMultiClusterCreateRequestDeleteSkuModeEnum"];
17685
+ deletion_sku_mode: components["schemas"]["v1DraftMultiClusterCreateRequestDeleteSkuModeEnum"];
17734
17686
  delivery_info: components["schemas"]["v1DraftMultiClusterCreateRequestDeliveryInfo"];
17735
17687
  };
17736
17688
  v2DraftCreateInfoRequest: {
@@ -24887,7 +24839,10 @@ interface components {
24887
24839
  rejection_comment?: string;
24888
24840
  /** @description Данные о причине отклонения заявки. */
24889
24841
  rejection_reason?: components["schemas"]["ReturnsRfbsGetV2ResponseRejectionReason"][];
24890
- /** @description Способ возврата товара. */
24842
+ /**
24843
+ * @deprecated
24844
+ * @description Способ возврата товара.
24845
+ */
24891
24846
  return_method_description?: string;
24892
24847
  /** @description Номер заявки на возврат. */
24893
24848
  return_number?: string;
@@ -24905,68 +24860,6 @@ interface components {
24905
24860
  v2ReturnsRfbsGetResponse: {
24906
24861
  returns?: components["schemas"]["ReturnsRfbsGetResponseReturns"];
24907
24862
  };
24908
- /** object */
24909
- v2ReturnsRfbsRejectRequest: {
24910
- /**
24911
- * Format: int64
24912
- * @description Идентификатор заявки на возврат.
24913
- */
24914
- return_id: number;
24915
- /**
24916
- * @description Комментарий.
24917
- *
24918
- * Передайте комментарий, если в ответе метода [/v2/returns/rfbs/get](#operation/RFBSReturnsAPI_ReturnsRfbsGetV2) параметр `rejection_reason.is_comment_required` — `true`.
24919
- */
24920
- comment?: string;
24921
- /**
24922
- * Format: int64
24923
- * @description Идентификатор причины отмены.
24924
- *
24925
- * Передайте идентификатор из списка причин, полученного в ответе метода [/v2/returns/rfbs/get](#operation/RFBSReturnsAPI_ReturnsRfbsGetV2) в параметре `rejection_reason`.
24926
- */
24927
- rejection_reason_id: number;
24928
- };
24929
- /** object */
24930
- v2ReturnsRfbsCompensateRequest: {
24931
- /** @description Сумма компенсации. */
24932
- compensation_amount?: string;
24933
- /**
24934
- * Format: int64
24935
- * @description Идентификатор заявки на возврат.
24936
- */
24937
- return_id: number;
24938
- };
24939
- /** object */
24940
- v2ReturnsRfbsVerifyRequest: {
24941
- /**
24942
- * Format: int64
24943
- * @description Идентификатор заявки на возврат.
24944
- */
24945
- return_id: number;
24946
- /** @description Способ возврата товара. */
24947
- return_method_description?: string;
24948
- };
24949
- /** object */
24950
- v2ReturnsRfbsReceiveReturnRequest: {
24951
- /**
24952
- * Format: int64
24953
- * @description Идентификатор заявки на возврат.
24954
- */
24955
- return_id: number;
24956
- };
24957
- /** object */
24958
- v2ReturnsRfbsReturnMoneyRequest: {
24959
- /**
24960
- * Format: int64
24961
- * @description Идентификатор заявки на возврат.
24962
- */
24963
- return_id: number;
24964
- /**
24965
- * Format: int64
24966
- * @description Сумма, возмещаемая покупателю за пересылку товара.
24967
- */
24968
- return_for_back_way?: number;
24969
- };
24970
24863
  v1ReturnsRfbsActionSetRequest: {
24971
24864
  /**
24972
24865
  * @description Комментарий продавца.
@@ -31720,6 +31613,287 @@ interface components {
31720
31613
  /** @description Уникальный идентификатор отчёта. Получите отчёт методом [/v1/report/info](#operation/ReportAPI_ReportInfo). */
31721
31614
  code?: string;
31722
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
+ };
31723
31897
  /** @description Координаты. */
31724
31898
  v1ListDropOffPointsForCreateFBSWarehouseRequestCoordinates: {
31725
31899
  /**
@@ -56229,376 +56403,6 @@ interface operations {
56229
56403
  };
56230
56404
  };
56231
56405
  };
56232
- RFBSReturnsAPI_ReturnsRfbsRejectV2: {
56233
- parameters: {
56234
- query?: never;
56235
- header: {
56236
- /** @description Идентификатор клиента. */
56237
- "Client-Id": components["parameters"]["Client-Id"];
56238
- /** @description API-ключ. */
56239
- "Api-Key": components["parameters"]["Api-Key"];
56240
- };
56241
- path?: never;
56242
- cookie?: never;
56243
- };
56244
- requestBody: {
56245
- content: {
56246
- "application/json": components["schemas"]["v2ReturnsRfbsRejectRequest"];
56247
- };
56248
- };
56249
- responses: {
56250
- /** @description Заявка отклонена */
56251
- 200: {
56252
- headers: {
56253
- [name: string]: unknown;
56254
- };
56255
- content: {
56256
- "application/json": components["schemas"]["v1Empty"];
56257
- };
56258
- };
56259
- /** @description Неверный параметр */
56260
- 400: {
56261
- headers: {
56262
- [name: string]: unknown;
56263
- };
56264
- content: {
56265
- "application/json": components["schemas"]["rpcStatus"];
56266
- };
56267
- };
56268
- /** @description Доступ запрещён */
56269
- 403: {
56270
- headers: {
56271
- [name: string]: unknown;
56272
- };
56273
- content: {
56274
- "application/json": components["schemas"]["rpcStatus"];
56275
- };
56276
- };
56277
- /** @description Ответ не найден */
56278
- 404: {
56279
- headers: {
56280
- [name: string]: unknown;
56281
- };
56282
- content: {
56283
- "application/json": components["schemas"]["rpcStatus"];
56284
- };
56285
- };
56286
- /** @description Конфликт запроса */
56287
- 409: {
56288
- headers: {
56289
- [name: string]: unknown;
56290
- };
56291
- content: {
56292
- "application/json": components["schemas"]["rpcStatus"];
56293
- };
56294
- };
56295
- /** @description Внутренняя ошибка сервера */
56296
- 500: {
56297
- headers: {
56298
- [name: string]: unknown;
56299
- };
56300
- content: {
56301
- "application/json": components["schemas"]["rpcStatus"];
56302
- };
56303
- };
56304
- };
56305
- };
56306
- RFBSReturnsAPI_ReturnsRfbsCompensateV2: {
56307
- parameters: {
56308
- query?: never;
56309
- header: {
56310
- /** @description Идентификатор клиента. */
56311
- "Client-Id": components["parameters"]["Client-Id"];
56312
- /** @description API-ключ. */
56313
- "Api-Key": components["parameters"]["Api-Key"];
56314
- };
56315
- path?: never;
56316
- cookie?: never;
56317
- };
56318
- requestBody: {
56319
- content: {
56320
- "application/json": components["schemas"]["v2ReturnsRfbsCompensateRequest"];
56321
- };
56322
- };
56323
- responses: {
56324
- /** @description Частичная компенсация подтверждена */
56325
- 200: {
56326
- headers: {
56327
- [name: string]: unknown;
56328
- };
56329
- content: {
56330
- "application/json": components["schemas"]["v1Empty"];
56331
- };
56332
- };
56333
- /** @description Неверный параметр */
56334
- 400: {
56335
- headers: {
56336
- [name: string]: unknown;
56337
- };
56338
- content: {
56339
- "application/json": components["schemas"]["rpcStatus"];
56340
- };
56341
- };
56342
- /** @description Доступ запрещён */
56343
- 403: {
56344
- headers: {
56345
- [name: string]: unknown;
56346
- };
56347
- content: {
56348
- "application/json": components["schemas"]["rpcStatus"];
56349
- };
56350
- };
56351
- /** @description Ответ не найден */
56352
- 404: {
56353
- headers: {
56354
- [name: string]: unknown;
56355
- };
56356
- content: {
56357
- "application/json": components["schemas"]["rpcStatus"];
56358
- };
56359
- };
56360
- /** @description Конфликт запроса */
56361
- 409: {
56362
- headers: {
56363
- [name: string]: unknown;
56364
- };
56365
- content: {
56366
- "application/json": components["schemas"]["rpcStatus"];
56367
- };
56368
- };
56369
- /** @description Внутренняя ошибка сервера */
56370
- 500: {
56371
- headers: {
56372
- [name: string]: unknown;
56373
- };
56374
- content: {
56375
- "application/json": components["schemas"]["rpcStatus"];
56376
- };
56377
- };
56378
- };
56379
- };
56380
- RFBSReturnsAPI_ReturnsRfbsVerifyV2: {
56381
- parameters: {
56382
- query?: never;
56383
- header: {
56384
- /** @description Идентификатор клиента. */
56385
- "Client-Id": components["parameters"]["Client-Id"];
56386
- /** @description API-ключ. */
56387
- "Api-Key": components["parameters"]["Api-Key"];
56388
- };
56389
- path?: never;
56390
- cookie?: never;
56391
- };
56392
- requestBody: {
56393
- content: {
56394
- "application/json": components["schemas"]["v2ReturnsRfbsVerifyRequest"];
56395
- };
56396
- };
56397
- responses: {
56398
- /** @description Заявка одобрена */
56399
- 200: {
56400
- headers: {
56401
- [name: string]: unknown;
56402
- };
56403
- content: {
56404
- "application/json": components["schemas"]["v1Empty"];
56405
- };
56406
- };
56407
- /** @description Неверный параметр */
56408
- 400: {
56409
- headers: {
56410
- [name: string]: unknown;
56411
- };
56412
- content: {
56413
- "application/json": components["schemas"]["rpcStatus"];
56414
- };
56415
- };
56416
- /** @description Доступ запрещён */
56417
- 403: {
56418
- headers: {
56419
- [name: string]: unknown;
56420
- };
56421
- content: {
56422
- "application/json": components["schemas"]["rpcStatus"];
56423
- };
56424
- };
56425
- /** @description Ответ не найден */
56426
- 404: {
56427
- headers: {
56428
- [name: string]: unknown;
56429
- };
56430
- content: {
56431
- "application/json": components["schemas"]["rpcStatus"];
56432
- };
56433
- };
56434
- /** @description Конфликт запроса */
56435
- 409: {
56436
- headers: {
56437
- [name: string]: unknown;
56438
- };
56439
- content: {
56440
- "application/json": components["schemas"]["rpcStatus"];
56441
- };
56442
- };
56443
- /** @description Внутренняя ошибка сервера */
56444
- 500: {
56445
- headers: {
56446
- [name: string]: unknown;
56447
- };
56448
- content: {
56449
- "application/json": components["schemas"]["rpcStatus"];
56450
- };
56451
- };
56452
- };
56453
- };
56454
- RFBSReturnsAPI_ReturnsRfbsReceiveReturnV2: {
56455
- parameters: {
56456
- query?: never;
56457
- header: {
56458
- /** @description Идентификатор клиента. */
56459
- "Client-Id": components["parameters"]["Client-Id"];
56460
- /** @description API-ключ. */
56461
- "Api-Key": components["parameters"]["Api-Key"];
56462
- };
56463
- path?: never;
56464
- cookie?: never;
56465
- };
56466
- requestBody: {
56467
- content: {
56468
- "application/json": components["schemas"]["v2ReturnsRfbsReceiveReturnRequest"];
56469
- };
56470
- };
56471
- responses: {
56472
- /** @description Получение подтверждено */
56473
- 200: {
56474
- headers: {
56475
- [name: string]: unknown;
56476
- };
56477
- content: {
56478
- "application/json": components["schemas"]["v1Empty"];
56479
- };
56480
- };
56481
- /** @description Неверный параметр */
56482
- 400: {
56483
- headers: {
56484
- [name: string]: unknown;
56485
- };
56486
- content: {
56487
- "application/json": components["schemas"]["rpcStatus"];
56488
- };
56489
- };
56490
- /** @description Доступ запрещён */
56491
- 403: {
56492
- headers: {
56493
- [name: string]: unknown;
56494
- };
56495
- content: {
56496
- "application/json": components["schemas"]["rpcStatus"];
56497
- };
56498
- };
56499
- /** @description Ответ не найден */
56500
- 404: {
56501
- headers: {
56502
- [name: string]: unknown;
56503
- };
56504
- content: {
56505
- "application/json": components["schemas"]["rpcStatus"];
56506
- };
56507
- };
56508
- /** @description Конфликт запроса */
56509
- 409: {
56510
- headers: {
56511
- [name: string]: unknown;
56512
- };
56513
- content: {
56514
- "application/json": components["schemas"]["rpcStatus"];
56515
- };
56516
- };
56517
- /** @description Внутренняя ошибка сервера */
56518
- 500: {
56519
- headers: {
56520
- [name: string]: unknown;
56521
- };
56522
- content: {
56523
- "application/json": components["schemas"]["rpcStatus"];
56524
- };
56525
- };
56526
- };
56527
- };
56528
- RFBSReturnsAPI_ReturnsRfbsReturnMoneyV2: {
56529
- parameters: {
56530
- query?: never;
56531
- header: {
56532
- /** @description Идентификатор клиента. */
56533
- "Client-Id": components["parameters"]["Client-Id"];
56534
- /** @description API-ключ. */
56535
- "Api-Key": components["parameters"]["Api-Key"];
56536
- };
56537
- path?: never;
56538
- cookie?: never;
56539
- };
56540
- requestBody: {
56541
- content: {
56542
- "application/json": components["schemas"]["v2ReturnsRfbsReturnMoneyRequest"];
56543
- };
56544
- };
56545
- responses: {
56546
- /** @description Возврат денег подтверждён */
56547
- 200: {
56548
- headers: {
56549
- [name: string]: unknown;
56550
- };
56551
- content: {
56552
- "application/json": components["schemas"]["v1Empty"];
56553
- };
56554
- };
56555
- /** @description Неверный параметр */
56556
- 400: {
56557
- headers: {
56558
- [name: string]: unknown;
56559
- };
56560
- content: {
56561
- "application/json": components["schemas"]["rpcStatus"];
56562
- };
56563
- };
56564
- /** @description Доступ запрещён */
56565
- 403: {
56566
- headers: {
56567
- [name: string]: unknown;
56568
- };
56569
- content: {
56570
- "application/json": components["schemas"]["rpcStatus"];
56571
- };
56572
- };
56573
- /** @description Ответ не найден */
56574
- 404: {
56575
- headers: {
56576
- [name: string]: unknown;
56577
- };
56578
- content: {
56579
- "application/json": components["schemas"]["rpcStatus"];
56580
- };
56581
- };
56582
- /** @description Конфликт запроса */
56583
- 409: {
56584
- headers: {
56585
- [name: string]: unknown;
56586
- };
56587
- content: {
56588
- "application/json": components["schemas"]["rpcStatus"];
56589
- };
56590
- };
56591
- /** @description Внутренняя ошибка сервера */
56592
- 500: {
56593
- headers: {
56594
- [name: string]: unknown;
56595
- };
56596
- content: {
56597
- "application/json": components["schemas"]["rpcStatus"];
56598
- };
56599
- };
56600
- };
56601
- };
56602
56406
  ReturnsAPI_ReturnsRfbsActionSet: {
56603
56407
  parameters: {
56604
56408
  query?: never;
@@ -62197,6 +62001,302 @@ interface operations {
62197
62001
  };
62198
62002
  };
62199
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
+ };
62200
62300
  WarehouseAPI_ListDropOffPointsForCreateFBSWarehouse: {
62201
62301
  parameters: {
62202
62302
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "artefactby-ozon-seller-api",
3
- "version": "0.2.1",
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",
@@ -59,14 +59,18 @@
59
59
  "README.en.md"
60
60
  ],
61
61
  "scripts": {
62
+ "api-sync": "node scripts/api-sync.mjs",
62
63
  "build": "tsup && node scripts/dedupe-dts.mjs",
64
+ "codegen": "node scripts/codegen.mjs",
63
65
  "dev": "tsup --watch",
64
- "codegen": "openapi-typescript temp/swagger.json -o src/generated/types.ts && node scripts/emit-http-methods.mjs",
65
66
  "typecheck": "tsc --noEmit",
66
67
  "test": "vitest run",
67
68
  "test:watch": "vitest",
68
69
  "prepublishOnly": "npm run typecheck && npm run test && npm run build"
69
70
  },
71
+ "publishConfig": {
72
+ "provenance": true
73
+ },
70
74
  "engines": {
71
75
  "node": ">=18"
72
76
  },