@epilot/pricing-client 3.17.5 → 3.17.7

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/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
  */
@@ -2652,6 +2642,10 @@ declare namespace Components {
2652
2642
  */
2653
2643
  city: string | null;
2654
2644
  }
2645
+ /**
2646
+ * The search providers payload
2647
+ */
2648
+ export type SearchStreetsResult = /* The street entity */ Street[];
2655
2649
  /**
2656
2650
  * The street entity
2657
2651
  */
@@ -2978,7 +2972,7 @@ declare namespace Paths {
2978
2972
  integrationId: Parameters.IntegrationId;
2979
2973
  }
2980
2974
  namespace Responses {
2981
- export type $200 = /* The credentials response payload */ Components.Schemas.IntegrationCredentialsResult;
2975
+ export type $200 = /* The basic auth credentials */ Components.Schemas.BasicAuthCredentials;
2982
2976
  export type $400 = Components.Schemas.Error;
2983
2977
  export type $404 = Components.Schemas.Error;
2984
2978
  }
@@ -2994,7 +2988,7 @@ declare namespace Paths {
2994
2988
  export interface PathParameters {
2995
2989
  integrationId: Parameters.IntegrationId;
2996
2990
  }
2997
- export type RequestBody = /* The credentials request payload */ Components.Schemas.SaveIntegrationCredentialsParams;
2991
+ export type RequestBody = /* The basic auth credentials */ Components.Schemas.BasicAuthCredentials;
2998
2992
  namespace Responses {
2999
2993
  export interface $204 {
3000
2994
  }
@@ -3083,7 +3077,7 @@ declare namespace Paths {
3083
3077
  }
3084
3078
  export type RequestBody = /* A search streets payload */ Components.Schemas.SearchStreetsParams;
3085
3079
  namespace Responses {
3086
- export type $200 = /* The search providers payload */ Components.Schemas.SearchProvidersResult;
3080
+ export type $200 = /* The search providers payload */ Components.Schemas.SearchStreetsResult;
3087
3081
  export type $400 = Components.Schemas.Error;
3088
3082
  export type $403 = Components.Schemas.Error;
3089
3083
  }
package/dist/openapi.json CHANGED
@@ -971,7 +971,7 @@
971
971
  "content": {
972
972
  "application/json": {
973
973
  "schema": {
974
- "$ref": "#/components/schemas/SearchProvidersResult"
974
+ "$ref": "#/components/schemas/SearchStreetsResult"
975
975
  },
976
976
  "examples": {
977
977
  "Response with available streets": {
@@ -2514,22 +2514,10 @@
2514
2514
  ]
2515
2515
  },
2516
2516
  "IntegrationCredentialsResult": {
2517
- "description": "The credentials response payload",
2518
- "type": "object",
2519
- "properties": {
2520
- "schema": {
2521
- "$ref": "#/components/schemas/BasicAuthCredentials"
2522
- }
2523
- }
2517
+ "$ref": "#/components/schemas/BasicAuthCredentials"
2524
2518
  },
2525
2519
  "SaveIntegrationCredentialsParams": {
2526
- "description": "The credentials request payload",
2527
- "type": "object",
2528
- "properties": {
2529
- "schema": {
2530
- "$ref": "#/components/schemas/BasicAuthCredentials"
2531
- }
2532
- }
2520
+ "$ref": "#/components/schemas/BasicAuthCredentials"
2533
2521
  },
2534
2522
  "BasicAuthCredentials": {
2535
2523
  "description": "The basic auth credentials",
@@ -2551,6 +2539,13 @@
2551
2539
  "password"
2552
2540
  ]
2553
2541
  },
2542
+ "SearchStreetsResult": {
2543
+ "description": "The search providers payload",
2544
+ "type": "array",
2545
+ "items": {
2546
+ "$ref": "#/components/schemas/Street"
2547
+ }
2548
+ },
2554
2549
  "SearchProvidersResult": {
2555
2550
  "description": "The search providers payload",
2556
2551
  "type": "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.17.5",
3
+ "version": "3.17.7",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",