@epilot/pricing-client 3.17.7 → 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.
@@ -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},{"in":"header","name":"X-Epilot-Org-ID","required":true}]}},"/v1/integration/{integrationId}/credentials:save":{"put":{"operationId":"$saveCredentials","parameters":[{"in":"path","name":"integrationId","required":true},{"in":"header","name":"X-Epilot-Org-ID","required":true}],"requestBody":{"content":{"application/json":{}}}}},"/v1/integration/{integrationId}/credentials:delete":{"delete":{"operationId":"$deleteCredentials","parameters":[{"in":"path","name":"integrationId","required":true},{"in":"header","name":"X-Epilot-Org-ID","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})})();
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
@@ -2944,12 +2944,8 @@ declare namespace Paths {
2944
2944
  }
2945
2945
  }
2946
2946
  namespace $DeleteCredentials {
2947
- export interface HeaderParameters {
2948
- "X-Epilot-Org-ID": Parameters.XEpilotOrgID;
2949
- }
2950
2947
  namespace Parameters {
2951
2948
  export type IntegrationId = Components.Schemas.IntegrationId;
2952
- export type XEpilotOrgID = string;
2953
2949
  }
2954
2950
  export interface PathParameters {
2955
2951
  integrationId: Parameters.IntegrationId;
@@ -2961,12 +2957,8 @@ declare namespace Paths {
2961
2957
  }
2962
2958
  }
2963
2959
  namespace $GetCredentials {
2964
- export interface HeaderParameters {
2965
- "X-Epilot-Org-ID": Parameters.XEpilotOrgID;
2966
- }
2967
2960
  namespace Parameters {
2968
2961
  export type IntegrationId = Components.Schemas.IntegrationId;
2969
- export type XEpilotOrgID = string;
2970
2962
  }
2971
2963
  export interface PathParameters {
2972
2964
  integrationId: Parameters.IntegrationId;
@@ -2978,12 +2970,8 @@ declare namespace Paths {
2978
2970
  }
2979
2971
  }
2980
2972
  namespace $SaveCredentials {
2981
- export interface HeaderParameters {
2982
- "X-Epilot-Org-ID": Parameters.XEpilotOrgID;
2983
- }
2984
2973
  namespace Parameters {
2985
2974
  export type IntegrationId = Components.Schemas.IntegrationId;
2986
- export type XEpilotOrgID = string;
2987
2975
  }
2988
2976
  export interface PathParameters {
2989
2977
  integrationId: Parameters.IntegrationId;
@@ -3244,7 +3232,7 @@ export interface OperationMethods {
3244
3232
  * Gets the credentials for a given integration / organization
3245
3233
  */
3246
3234
  '$getCredentials'(
3247
- parameters?: Parameters<Paths.$GetCredentials.PathParameters & Paths.$GetCredentials.HeaderParameters> | null,
3235
+ parameters?: Parameters<Paths.$GetCredentials.PathParameters> | null,
3248
3236
  data?: any,
3249
3237
  config?: AxiosRequestConfig
3250
3238
  ): OperationResponse<Paths.$GetCredentials.Responses.$200>
@@ -3254,7 +3242,7 @@ export interface OperationMethods {
3254
3242
  * Saves the credentials for a given integration / organization
3255
3243
  */
3256
3244
  '$saveCredentials'(
3257
- parameters?: Parameters<Paths.$SaveCredentials.PathParameters & Paths.$SaveCredentials.HeaderParameters> | null,
3245
+ parameters?: Parameters<Paths.$SaveCredentials.PathParameters> | null,
3258
3246
  data?: Paths.$SaveCredentials.RequestBody,
3259
3247
  config?: AxiosRequestConfig
3260
3248
  ): OperationResponse<Paths.$SaveCredentials.Responses.$204>
@@ -3264,7 +3252,7 @@ export interface OperationMethods {
3264
3252
  * Delete the credentials for a given integration / organization
3265
3253
  */
3266
3254
  '$deleteCredentials'(
3267
- parameters?: Parameters<Paths.$DeleteCredentials.PathParameters & Paths.$DeleteCredentials.HeaderParameters> | null,
3255
+ parameters?: Parameters<Paths.$DeleteCredentials.PathParameters> | null,
3268
3256
  data?: any,
3269
3257
  config?: AxiosRequestConfig
3270
3258
  ): OperationResponse<Paths.$DeleteCredentials.Responses.$204>
@@ -3399,7 +3387,7 @@ export interface PathsDictionary {
3399
3387
  * Gets the credentials for a given integration / organization
3400
3388
  */
3401
3389
  'get'(
3402
- parameters?: Parameters<Paths.$GetCredentials.PathParameters & Paths.$GetCredentials.HeaderParameters> | null,
3390
+ parameters?: Parameters<Paths.$GetCredentials.PathParameters> | null,
3403
3391
  data?: any,
3404
3392
  config?: AxiosRequestConfig
3405
3393
  ): OperationResponse<Paths.$GetCredentials.Responses.$200>
@@ -3411,7 +3399,7 @@ export interface PathsDictionary {
3411
3399
  * Saves the credentials for a given integration / organization
3412
3400
  */
3413
3401
  'put'(
3414
- parameters?: Parameters<Paths.$SaveCredentials.PathParameters & Paths.$SaveCredentials.HeaderParameters> | null,
3402
+ parameters?: Parameters<Paths.$SaveCredentials.PathParameters> | null,
3415
3403
  data?: Paths.$SaveCredentials.RequestBody,
3416
3404
  config?: AxiosRequestConfig
3417
3405
  ): OperationResponse<Paths.$SaveCredentials.Responses.$204>
@@ -3423,7 +3411,7 @@ export interface PathsDictionary {
3423
3411
  * Delete the credentials for a given integration / organization
3424
3412
  */
3425
3413
  'delete'(
3426
- parameters?: Parameters<Paths.$DeleteCredentials.PathParameters & Paths.$DeleteCredentials.HeaderParameters> | null,
3414
+ parameters?: Parameters<Paths.$DeleteCredentials.PathParameters> | null,
3427
3415
  data?: any,
3428
3416
  config?: AxiosRequestConfig
3429
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": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.17.7",
3
+ "version": "3.17.8",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",