@epilot/pricing-client 3.17.6 → 3.17.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +0 -15
- package/dist/openapi.d.ts +10 -32
- package/dist/openapi.json +2 -44
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={914:function(e,r,t){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var a=i(t(240));r.default=a.default},240:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"servers":[{"url":"https://pricing-api.sls.epilot.io"}],"paths":{"/v1/order":{"post":{"operationId":"createOrder","requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/order/{id}":{"put":{"operationId":"putOrder","parameters":[{"in":"path","name":"id","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/public/cart:checkout":{"post":{"operationId":"$checkoutCart","parameters":[{"in":"header","name":"X-Ivy-Org-ID","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/public/catalog":{"post":{"operationId":"$searchCatalog","parameters":[{"in":"header","name":"X-Ivy-Org-ID","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/public/availability:check":{"post":{"operationId":"$availabilityCheck","parameters":[{"in":"header","name":"X-Ivy-Org-ID","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/validate-availability/{id}":{"get":{"operationId":"$validateAvailabilityFile","parameters":[{"in":"path","name":"id","required":true},{"in":"header","name":"X-Epilot-Org-ID","required":true}]}},"/v1/public/integration/{integrationId}/providers:search":{"post":{"operationId":"$searchProviders","parameters":[{"in":"header","name":"X-Epilot-Org-ID","required":true},{"in":"path","name":"integrationId","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/public/integration/{integrationId}/streets:search":{"post":{"operationId":"$searchStreets","parameters":[{"in":"header","name":"X-Epilot-Org-ID","required":true},{"in":"path","name":"integrationId","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/integration/{integrationId}/credentials":{"get":{"operationId":"$getCredentials","parameters":[{"in":"path","name":"integrationId","required":true}
|
|
1
|
+
(()=>{"use strict";var e={914:function(e,r,t){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var a=i(t(240));r.default=a.default},240:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"servers":[{"url":"https://pricing-api.sls.epilot.io"}],"paths":{"/v1/order":{"post":{"operationId":"createOrder","requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/order/{id}":{"put":{"operationId":"putOrder","parameters":[{"in":"path","name":"id","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/public/cart:checkout":{"post":{"operationId":"$checkoutCart","parameters":[{"in":"header","name":"X-Ivy-Org-ID","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/public/catalog":{"post":{"operationId":"$searchCatalog","parameters":[{"in":"header","name":"X-Ivy-Org-ID","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/public/availability:check":{"post":{"operationId":"$availabilityCheck","parameters":[{"in":"header","name":"X-Ivy-Org-ID","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/validate-availability/{id}":{"get":{"operationId":"$validateAvailabilityFile","parameters":[{"in":"path","name":"id","required":true},{"in":"header","name":"X-Epilot-Org-ID","required":true}]}},"/v1/public/integration/{integrationId}/providers:search":{"post":{"operationId":"$searchProviders","parameters":[{"in":"header","name":"X-Epilot-Org-ID","required":true},{"in":"path","name":"integrationId","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/public/integration/{integrationId}/streets:search":{"post":{"operationId":"$searchStreets","parameters":[{"in":"header","name":"X-Epilot-Org-ID","required":true},{"in":"path","name":"integrationId","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}}}},"/v1/integration/{integrationId}/credentials":{"get":{"operationId":"$getCredentials","parameters":[{"in":"path","name":"integrationId","required":true}]}},"/v1/integration/{integrationId}/credentials:save":{"put":{"operationId":"$saveCredentials","parameters":[{"in":"path","name":"integrationId","required":true}],"requestBody":{"content":{"application/json":{}}}}},"/v1/integration/{integrationId}/credentials:delete":{"delete":{"operationId":"$deleteCredentials","parameters":[{"in":"path","name":"integrationId","required":true}]}},"/v1/public/opportunity":{"post":{"deprecated":true,"operationId":"$createOpportunity","parameters":[{"in":"header","name":"X-Ivy-Org-ID","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}}}}},"components":{}}')}},r={},t=function t(i){var a=r[i];if(void 0!==a)return a.exports;var n=r[i]={exports:{}};return e[i].call(n.exports,n,n.exports,t),n.exports}(914),i=exports;for(var a in t)i[a]=t[a];t.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
|
|
@@ -164,11 +164,6 @@
|
|
|
164
164
|
"in": "path",
|
|
165
165
|
"name": "integrationId",
|
|
166
166
|
"required": true
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"in": "header",
|
|
170
|
-
"name": "X-Epilot-Org-ID",
|
|
171
|
-
"required": true
|
|
172
167
|
}
|
|
173
168
|
]
|
|
174
169
|
}
|
|
@@ -181,11 +176,6 @@
|
|
|
181
176
|
"in": "path",
|
|
182
177
|
"name": "integrationId",
|
|
183
178
|
"required": true
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"in": "header",
|
|
187
|
-
"name": "X-Epilot-Org-ID",
|
|
188
|
-
"required": true
|
|
189
179
|
}
|
|
190
180
|
],
|
|
191
181
|
"requestBody": {
|
|
@@ -203,11 +193,6 @@
|
|
|
203
193
|
"in": "path",
|
|
204
194
|
"name": "integrationId",
|
|
205
195
|
"required": true
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"in": "header",
|
|
209
|
-
"name": "X-Epilot-Org-ID",
|
|
210
|
-
"required": true
|
|
211
196
|
}
|
|
212
197
|
]
|
|
213
198
|
}
|
package/dist/openapi.d.ts
CHANGED
|
@@ -1126,12 +1126,7 @@ declare namespace Components {
|
|
|
1126
1126
|
_title?: string;
|
|
1127
1127
|
$relation?: EntityRelation;
|
|
1128
1128
|
}
|
|
1129
|
-
|
|
1130
|
-
* The credentials response payload
|
|
1131
|
-
*/
|
|
1132
|
-
export interface IntegrationCredentialsResult {
|
|
1133
|
-
schema?: /* The basic auth credentials */ BasicAuthCredentials;
|
|
1134
|
-
}
|
|
1129
|
+
export type IntegrationCredentialsResult = /* The basic auth credentials */ BasicAuthCredentials;
|
|
1135
1130
|
export type IntegrationId = "enet" | "getag";
|
|
1136
1131
|
/**
|
|
1137
1132
|
* A set of key-value pairs used to store meta data information about an entity.
|
|
@@ -2604,12 +2599,7 @@ declare namespace Components {
|
|
|
2604
2599
|
tax?: /* A tax amount associated with a specific tax rate. */ TaxAmountBreakdown;
|
|
2605
2600
|
}
|
|
2606
2601
|
export type SalesTax = "nontaxable" | "reduced" | "standard";
|
|
2607
|
-
|
|
2608
|
-
* The credentials request payload
|
|
2609
|
-
*/
|
|
2610
|
-
export interface SaveIntegrationCredentialsParams {
|
|
2611
|
-
schema?: /* The basic auth credentials */ BasicAuthCredentials;
|
|
2612
|
-
}
|
|
2602
|
+
export type SaveIntegrationCredentialsParams = /* The basic auth credentials */ BasicAuthCredentials;
|
|
2613
2603
|
/**
|
|
2614
2604
|
* A search providers payload
|
|
2615
2605
|
*/
|
|
@@ -2954,12 +2944,8 @@ declare namespace Paths {
|
|
|
2954
2944
|
}
|
|
2955
2945
|
}
|
|
2956
2946
|
namespace $DeleteCredentials {
|
|
2957
|
-
export interface HeaderParameters {
|
|
2958
|
-
"X-Epilot-Org-ID": Parameters.XEpilotOrgID;
|
|
2959
|
-
}
|
|
2960
2947
|
namespace Parameters {
|
|
2961
2948
|
export type IntegrationId = Components.Schemas.IntegrationId;
|
|
2962
|
-
export type XEpilotOrgID = string;
|
|
2963
2949
|
}
|
|
2964
2950
|
export interface PathParameters {
|
|
2965
2951
|
integrationId: Parameters.IntegrationId;
|
|
@@ -2971,34 +2957,26 @@ declare namespace Paths {
|
|
|
2971
2957
|
}
|
|
2972
2958
|
}
|
|
2973
2959
|
namespace $GetCredentials {
|
|
2974
|
-
export interface HeaderParameters {
|
|
2975
|
-
"X-Epilot-Org-ID": Parameters.XEpilotOrgID;
|
|
2976
|
-
}
|
|
2977
2960
|
namespace Parameters {
|
|
2978
2961
|
export type IntegrationId = Components.Schemas.IntegrationId;
|
|
2979
|
-
export type XEpilotOrgID = string;
|
|
2980
2962
|
}
|
|
2981
2963
|
export interface PathParameters {
|
|
2982
2964
|
integrationId: Parameters.IntegrationId;
|
|
2983
2965
|
}
|
|
2984
2966
|
namespace Responses {
|
|
2985
|
-
export type $200 = /* The
|
|
2967
|
+
export type $200 = /* The basic auth credentials */ Components.Schemas.BasicAuthCredentials;
|
|
2986
2968
|
export type $400 = Components.Schemas.Error;
|
|
2987
2969
|
export type $404 = Components.Schemas.Error;
|
|
2988
2970
|
}
|
|
2989
2971
|
}
|
|
2990
2972
|
namespace $SaveCredentials {
|
|
2991
|
-
export interface HeaderParameters {
|
|
2992
|
-
"X-Epilot-Org-ID": Parameters.XEpilotOrgID;
|
|
2993
|
-
}
|
|
2994
2973
|
namespace Parameters {
|
|
2995
2974
|
export type IntegrationId = Components.Schemas.IntegrationId;
|
|
2996
|
-
export type XEpilotOrgID = string;
|
|
2997
2975
|
}
|
|
2998
2976
|
export interface PathParameters {
|
|
2999
2977
|
integrationId: Parameters.IntegrationId;
|
|
3000
2978
|
}
|
|
3001
|
-
export type RequestBody = /* The
|
|
2979
|
+
export type RequestBody = /* The basic auth credentials */ Components.Schemas.BasicAuthCredentials;
|
|
3002
2980
|
namespace Responses {
|
|
3003
2981
|
export interface $204 {
|
|
3004
2982
|
}
|
|
@@ -3254,7 +3232,7 @@ export interface OperationMethods {
|
|
|
3254
3232
|
* Gets the credentials for a given integration / organization
|
|
3255
3233
|
*/
|
|
3256
3234
|
'$getCredentials'(
|
|
3257
|
-
parameters?: Parameters<Paths.$GetCredentials.PathParameters
|
|
3235
|
+
parameters?: Parameters<Paths.$GetCredentials.PathParameters> | null,
|
|
3258
3236
|
data?: any,
|
|
3259
3237
|
config?: AxiosRequestConfig
|
|
3260
3238
|
): OperationResponse<Paths.$GetCredentials.Responses.$200>
|
|
@@ -3264,7 +3242,7 @@ export interface OperationMethods {
|
|
|
3264
3242
|
* Saves the credentials for a given integration / organization
|
|
3265
3243
|
*/
|
|
3266
3244
|
'$saveCredentials'(
|
|
3267
|
-
parameters?: Parameters<Paths.$SaveCredentials.PathParameters
|
|
3245
|
+
parameters?: Parameters<Paths.$SaveCredentials.PathParameters> | null,
|
|
3268
3246
|
data?: Paths.$SaveCredentials.RequestBody,
|
|
3269
3247
|
config?: AxiosRequestConfig
|
|
3270
3248
|
): OperationResponse<Paths.$SaveCredentials.Responses.$204>
|
|
@@ -3274,7 +3252,7 @@ export interface OperationMethods {
|
|
|
3274
3252
|
* Delete the credentials for a given integration / organization
|
|
3275
3253
|
*/
|
|
3276
3254
|
'$deleteCredentials'(
|
|
3277
|
-
parameters?: Parameters<Paths.$DeleteCredentials.PathParameters
|
|
3255
|
+
parameters?: Parameters<Paths.$DeleteCredentials.PathParameters> | null,
|
|
3278
3256
|
data?: any,
|
|
3279
3257
|
config?: AxiosRequestConfig
|
|
3280
3258
|
): OperationResponse<Paths.$DeleteCredentials.Responses.$204>
|
|
@@ -3409,7 +3387,7 @@ export interface PathsDictionary {
|
|
|
3409
3387
|
* Gets the credentials for a given integration / organization
|
|
3410
3388
|
*/
|
|
3411
3389
|
'get'(
|
|
3412
|
-
parameters?: Parameters<Paths.$GetCredentials.PathParameters
|
|
3390
|
+
parameters?: Parameters<Paths.$GetCredentials.PathParameters> | null,
|
|
3413
3391
|
data?: any,
|
|
3414
3392
|
config?: AxiosRequestConfig
|
|
3415
3393
|
): OperationResponse<Paths.$GetCredentials.Responses.$200>
|
|
@@ -3421,7 +3399,7 @@ export interface PathsDictionary {
|
|
|
3421
3399
|
* Saves the credentials for a given integration / organization
|
|
3422
3400
|
*/
|
|
3423
3401
|
'put'(
|
|
3424
|
-
parameters?: Parameters<Paths.$SaveCredentials.PathParameters
|
|
3402
|
+
parameters?: Parameters<Paths.$SaveCredentials.PathParameters> | null,
|
|
3425
3403
|
data?: Paths.$SaveCredentials.RequestBody,
|
|
3426
3404
|
config?: AxiosRequestConfig
|
|
3427
3405
|
): OperationResponse<Paths.$SaveCredentials.Responses.$204>
|
|
@@ -3433,7 +3411,7 @@ export interface PathsDictionary {
|
|
|
3433
3411
|
* Delete the credentials for a given integration / organization
|
|
3434
3412
|
*/
|
|
3435
3413
|
'delete'(
|
|
3436
|
-
parameters?: Parameters<Paths.$DeleteCredentials.PathParameters
|
|
3414
|
+
parameters?: Parameters<Paths.$DeleteCredentials.PathParameters> | null,
|
|
3437
3415
|
data?: any,
|
|
3438
3416
|
config?: AxiosRequestConfig
|
|
3439
3417
|
): OperationResponse<Paths.$DeleteCredentials.Responses.$204>
|
package/dist/openapi.json
CHANGED
|
@@ -1029,16 +1029,6 @@
|
|
|
1029
1029
|
},
|
|
1030
1030
|
"required": true,
|
|
1031
1031
|
"example": "getag"
|
|
1032
|
-
},
|
|
1033
|
-
{
|
|
1034
|
-
"in": "header",
|
|
1035
|
-
"name": "X-Epilot-Org-ID",
|
|
1036
|
-
"description": "The target Organization Id represented by the caller",
|
|
1037
|
-
"schema": {
|
|
1038
|
-
"type": "string"
|
|
1039
|
-
},
|
|
1040
|
-
"required": true,
|
|
1041
|
-
"example": 739224
|
|
1042
1032
|
}
|
|
1043
1033
|
],
|
|
1044
1034
|
"responses": {
|
|
@@ -1101,16 +1091,6 @@
|
|
|
1101
1091
|
},
|
|
1102
1092
|
"required": true,
|
|
1103
1093
|
"example": "getag"
|
|
1104
|
-
},
|
|
1105
|
-
{
|
|
1106
|
-
"in": "header",
|
|
1107
|
-
"name": "X-Epilot-Org-ID",
|
|
1108
|
-
"description": "The target Organization Id represented by the caller",
|
|
1109
|
-
"schema": {
|
|
1110
|
-
"type": "string"
|
|
1111
|
-
},
|
|
1112
|
-
"required": true,
|
|
1113
|
-
"example": 739224
|
|
1114
1094
|
}
|
|
1115
1095
|
],
|
|
1116
1096
|
"requestBody": {
|
|
@@ -1165,16 +1145,6 @@
|
|
|
1165
1145
|
},
|
|
1166
1146
|
"required": true,
|
|
1167
1147
|
"example": "getag"
|
|
1168
|
-
},
|
|
1169
|
-
{
|
|
1170
|
-
"in": "header",
|
|
1171
|
-
"name": "X-Epilot-Org-ID",
|
|
1172
|
-
"description": "The target Organization Id represented by the caller",
|
|
1173
|
-
"schema": {
|
|
1174
|
-
"type": "string"
|
|
1175
|
-
},
|
|
1176
|
-
"required": true,
|
|
1177
|
-
"example": 739224
|
|
1178
1148
|
}
|
|
1179
1149
|
],
|
|
1180
1150
|
"responses": {
|
|
@@ -2514,22 +2484,10 @@
|
|
|
2514
2484
|
]
|
|
2515
2485
|
},
|
|
2516
2486
|
"IntegrationCredentialsResult": {
|
|
2517
|
-
"
|
|
2518
|
-
"type": "object",
|
|
2519
|
-
"properties": {
|
|
2520
|
-
"schema": {
|
|
2521
|
-
"$ref": "#/components/schemas/BasicAuthCredentials"
|
|
2522
|
-
}
|
|
2523
|
-
}
|
|
2487
|
+
"$ref": "#/components/schemas/BasicAuthCredentials"
|
|
2524
2488
|
},
|
|
2525
2489
|
"SaveIntegrationCredentialsParams": {
|
|
2526
|
-
"
|
|
2527
|
-
"type": "object",
|
|
2528
|
-
"properties": {
|
|
2529
|
-
"schema": {
|
|
2530
|
-
"$ref": "#/components/schemas/BasicAuthCredentials"
|
|
2531
|
-
}
|
|
2532
|
-
}
|
|
2490
|
+
"$ref": "#/components/schemas/BasicAuthCredentials"
|
|
2533
2491
|
},
|
|
2534
2492
|
"BasicAuthCredentials": {
|
|
2535
2493
|
"description": "The basic auth credentials",
|