@redotech/redo-api-schema 2.2.116 → 2.2.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/openapi.d.ts +17 -7
- package/lib/openapi.yaml +16 -9
- package/package.json +1 -1
package/lib/openapi.d.ts
CHANGED
|
@@ -772,12 +772,6 @@ export interface components {
|
|
|
772
772
|
*/
|
|
773
773
|
"shipment-document.schema": {
|
|
774
774
|
type: components["schemas"]["shipment-document-type.schema"];
|
|
775
|
-
/**
|
|
776
|
-
* URL
|
|
777
|
-
* Format: uri
|
|
778
|
-
* @description URL to download the document
|
|
779
|
-
*/
|
|
780
|
-
url: string;
|
|
781
775
|
};
|
|
782
776
|
/**
|
|
783
777
|
* Shipment Rate
|
|
@@ -823,7 +817,7 @@ export interface components {
|
|
|
823
817
|
"shipment.schema": {
|
|
824
818
|
/**
|
|
825
819
|
* Documents
|
|
826
|
-
* @description
|
|
820
|
+
* @description Available shipping documents. You can access these documents using the GET Shipment document endpoint.
|
|
827
821
|
*/
|
|
828
822
|
documents: components["schemas"]["shipment-document.schema"][];
|
|
829
823
|
/**
|
|
@@ -954,12 +948,23 @@ export interface components {
|
|
|
954
948
|
* @default null
|
|
955
949
|
*/
|
|
956
950
|
externalId?: string | null;
|
|
951
|
+
/**
|
|
952
|
+
* Kind
|
|
953
|
+
* @description Kind.
|
|
954
|
+
*/
|
|
955
|
+
kind?: components["schemas"]["webhook-kind.schema"];
|
|
957
956
|
/**
|
|
958
957
|
* Topic
|
|
959
958
|
* @description Topic.
|
|
960
959
|
*/
|
|
961
960
|
topic: components["schemas"]["webhook-topic.schema"];
|
|
962
961
|
};
|
|
962
|
+
/**
|
|
963
|
+
* Webhook kind
|
|
964
|
+
* @description Webhook kind.
|
|
965
|
+
* @enum {string}
|
|
966
|
+
*/
|
|
967
|
+
"webhook-kind.schema": "redo" | "loop";
|
|
963
968
|
/**
|
|
964
969
|
* Webhook read
|
|
965
970
|
* @description Webhook read.
|
|
@@ -987,6 +992,11 @@ export interface components {
|
|
|
987
992
|
* @description Webhook ID.
|
|
988
993
|
*/
|
|
989
994
|
id?: string;
|
|
995
|
+
/**
|
|
996
|
+
* Kind
|
|
997
|
+
* @description Kind.
|
|
998
|
+
*/
|
|
999
|
+
kind?: components["schemas"]["webhook-kind.schema"];
|
|
990
1000
|
/**
|
|
991
1001
|
* Topic
|
|
992
1002
|
* @description Topic.
|
package/lib/openapi.yaml
CHANGED
|
@@ -789,16 +789,8 @@ components:
|
|
|
789
789
|
properties:
|
|
790
790
|
type:
|
|
791
791
|
$ref: '#/components/schemas/shipment-document-type.schema'
|
|
792
|
-
url:
|
|
793
|
-
description: URL to download the document
|
|
794
|
-
examples:
|
|
795
|
-
- https://example.com/labels/123.pdf
|
|
796
|
-
format: uri
|
|
797
|
-
title: URL
|
|
798
|
-
type: string
|
|
799
792
|
required:
|
|
800
793
|
- type
|
|
801
|
-
- url
|
|
802
794
|
title: Shipment Document
|
|
803
795
|
type: object
|
|
804
796
|
shipment-rate.schema:
|
|
@@ -858,7 +850,7 @@ components:
|
|
|
858
850
|
description: Shipment information.
|
|
859
851
|
properties:
|
|
860
852
|
documents:
|
|
861
|
-
description:
|
|
853
|
+
description: Available shipping documents. You can access these documents using the GET Shipment document endpoint.
|
|
862
854
|
items:
|
|
863
855
|
$ref: '#/components/schemas/shipment-document.schema'
|
|
864
856
|
title: Documents
|
|
@@ -1033,6 +1025,10 @@ components:
|
|
|
1033
1025
|
type:
|
|
1034
1026
|
- string
|
|
1035
1027
|
- 'null'
|
|
1028
|
+
kind:
|
|
1029
|
+
$ref: '#/components/schemas/webhook-kind.schema'
|
|
1030
|
+
description: Kind.
|
|
1031
|
+
title: Kind
|
|
1036
1032
|
topic:
|
|
1037
1033
|
$ref: '#/components/schemas/webhook-topic.schema'
|
|
1038
1034
|
description: Topic.
|
|
@@ -1042,6 +1038,13 @@ components:
|
|
|
1042
1038
|
- topic
|
|
1043
1039
|
title: Webhook create
|
|
1044
1040
|
type: object
|
|
1041
|
+
webhook-kind.schema:
|
|
1042
|
+
description: Webhook kind.
|
|
1043
|
+
enum:
|
|
1044
|
+
- redo
|
|
1045
|
+
- loop
|
|
1046
|
+
title: Webhook kind
|
|
1047
|
+
type: string
|
|
1045
1048
|
webhook-read.schema:
|
|
1046
1049
|
description: Webhook read.
|
|
1047
1050
|
properties:
|
|
@@ -1066,6 +1069,10 @@ components:
|
|
|
1066
1069
|
readonly: true
|
|
1067
1070
|
title: ID
|
|
1068
1071
|
type: string
|
|
1072
|
+
kind:
|
|
1073
|
+
$ref: '#/components/schemas/webhook-kind.schema'
|
|
1074
|
+
description: Kind.
|
|
1075
|
+
title: Kind
|
|
1069
1076
|
topic:
|
|
1070
1077
|
$ref: '#/components/schemas/webhook-topic.schema'
|
|
1071
1078
|
description: Topic.
|
package/package.json
CHANGED