@whiplashmerch/whiplash-api-client 3.2.59 → 3.2.61

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.
@@ -4224,9 +4224,9 @@ export interface ApiV21EntitiesReturnAddress {
4224
4224
  /** the return address shipping country iso2 (US, GB, CA, etc) */
4225
4225
  country_iso2?: ApiV21EntitiesReturnAddressCountryIso2;
4226
4226
  /** the city of the return address */
4227
- city?: string | null;
4227
+ city?: string;
4228
4228
  /** the company name of the return address */
4229
- company?: string | null;
4229
+ company?: string;
4230
4230
  /** the return address creation date and time */
4231
4231
  created_at?: string;
4232
4232
  /**
@@ -4238,30 +4238,30 @@ export interface ApiV21EntitiesReturnAddress {
4238
4238
  * key discard date and time
4239
4239
  * @format date-time
4240
4240
  */
4241
- discarded_at?: string | null;
4241
+ discarded_at?: string;
4242
4242
  /** the email of the return address */
4243
- email?: string | null;
4243
+ email?: string;
4244
4244
  /**
4245
4245
  * the return address id
4246
4246
  * @format int32
4247
4247
  */
4248
4248
  id?: number;
4249
4249
  /** the name of the return address */
4250
- name?: string | null;
4250
+ name?: string;
4251
4251
  /** the phone number of the return address */
4252
- phone?: string | null;
4252
+ phone?: string;
4253
4253
  /** the state of the return address */
4254
- state?: string | null;
4254
+ state?: string;
4255
4255
  /** the street number and name of the return address */
4256
- street?: string | null;
4256
+ street?: string;
4257
4257
  /** the address number of the return address */
4258
- street_num?: string | null;
4258
+ street_num?: string;
4259
4259
  /** additional space for street name */
4260
- street_two?: string | null;
4260
+ street_two?: string;
4261
4261
  /** the return address last update date and time */
4262
4262
  updated_at?: string;
4263
4263
  /** the zip code of the return address */
4264
- zip?: string | null;
4264
+ zip?: string;
4265
4265
  }
4266
4266
  /** the return address shipping country iso2 (US, GB, CA, etc) */
4267
4267
  export declare enum ApiV21EntitiesReturnAddressCountryIso2 {
@@ -10592,9 +10592,9 @@ export interface ApiV2EntitiesReturnAddress {
10592
10592
  /** the return address shipping country iso2 (US, GB, CA, etc) */
10593
10593
  country_iso2?: ApiV2EntitiesReturnAddressCountryIso2;
10594
10594
  /** the city of the return address */
10595
- city?: string | null;
10595
+ city?: string;
10596
10596
  /** the company name of the return address */
10597
- company?: string | null;
10597
+ company?: string;
10598
10598
  /** the return address creation date and time */
10599
10599
  created_at?: string;
10600
10600
  /**
@@ -10606,30 +10606,30 @@ export interface ApiV2EntitiesReturnAddress {
10606
10606
  * key discard date and time
10607
10607
  * @format date-time
10608
10608
  */
10609
- discarded_at?: string | null;
10609
+ discarded_at?: string;
10610
10610
  /** the email of the return address */
10611
- email?: string | null;
10611
+ email?: string;
10612
10612
  /**
10613
10613
  * the return address id
10614
10614
  * @format int32
10615
10615
  */
10616
10616
  id?: number;
10617
10617
  /** the name of the return address */
10618
- name?: string | null;
10618
+ name?: string;
10619
10619
  /** the phone number of the return address */
10620
- phone?: string | null;
10620
+ phone?: string;
10621
10621
  /** the state of the return address */
10622
- state?: string | null;
10622
+ state?: string;
10623
10623
  /** the street number and name of the return address */
10624
- street?: string | null;
10624
+ street?: string;
10625
10625
  /** the address number of the return address */
10626
- street_num?: string | null;
10626
+ street_num?: string;
10627
10627
  /** additional space for street name */
10628
- street_two?: string | null;
10628
+ street_two?: string;
10629
10629
  /** the return address last update date and time */
10630
10630
  updated_at?: string;
10631
10631
  /** the zip code of the return address */
10632
- zip?: string | null;
10632
+ zip?: string;
10633
10633
  }
10634
10634
  /** the return address shipping country iso2 (US, GB, CA, etc) */
10635
10635
  export declare enum ApiV2EntitiesReturnAddressCountryIso2 {
@@ -2,11 +2,14 @@ import { ApiV21EntitiesLocationRole, HttpClient } from '../generated';
2
2
  export interface ApiV21CustomerIdGoEnabledResult {
3
3
  result: boolean;
4
4
  }
5
+ export interface ApiV21CustomersDefaultSNLocationRoleResult {
6
+ result: ApiV21EntitiesLocationRole.Backstock | ApiV21EntitiesLocationRole.Pickable | null;
7
+ }
5
8
  export interface ApiV21CustomersIdEnablePendingReturnsResult {
6
9
  result: boolean;
7
10
  }
8
11
  export interface ApiV21CustomersIdDefaultReturnLocationResult {
9
- result: ApiV21EntitiesLocationRole.Pending | ApiV21EntitiesLocationRole.Pickable | null;
12
+ result: ApiV21EntitiesLocationRole.Pending | ApiV21EntitiesLocationRole.Pickable | ApiV21EntitiesLocationRole.Backstock | null;
10
13
  }
11
14
  export interface ApiV21CustomerIdGoEnabledParams {
12
15
  warehouse_id: string;
@@ -14,3 +17,4 @@ export interface ApiV21CustomerIdGoEnabledParams {
14
17
  export declare const getApiV21CustomersIdGoEnabled: (client: HttpClient, customerId: number, warehouseId: number) => Promise<ApiV21CustomerIdGoEnabledResult>;
15
18
  export declare const getApiV21CustomersIdEnablePendingReturns: (client: HttpClient, customerId: number) => Promise<ApiV21CustomersIdEnablePendingReturnsResult>;
16
19
  export declare const getApiV21CustomersIdDefaultReturnLocationRole: (client: HttpClient, customerId: number) => Promise<ApiV21CustomersIdDefaultReturnLocationResult>;
20
+ export declare const getApiV21CustomersIdDefaultSNLocationRole: (client: HttpClient, customerId: number) => Promise<ApiV21CustomersDefaultSNLocationRoleResult>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "3.2.59",
3
+ "version": "3.2.61",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {