@kard-financial/sdk 23.0.0 → 23.0.1

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.
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@kard-financial/sdk",
46
- "X-Fern-SDK-Version": "23.0.0",
47
- "User-Agent": "@kard-financial/sdk/23.0.0",
46
+ "X-Fern-SDK-Version": "23.0.1",
47
+ "User-Agent": "@kard-financial/sdk/23.0.1",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -28,7 +28,7 @@ export declare class ChildrenClient {
28
28
  list(organizationId: string, request?: KardApi.organizations.ListChildrenRequest, requestOptions?: ChildrenClient.RequestOptions): core.HttpResponsePromise<KardApi.organizations.ChildOrganizationListResponse>;
29
29
  private __list;
30
30
  /**
31
- * Create a child organization by cloning the parent and overriding specified fields. An 8-digit numeric ID is generated automatically. The name is required, must be uppercase, and must not contain spaces.
31
+ * Create a child organization by cloning the parent and overriding specified fields. An 8-digit numeric ID is generated automatically. The name is required, must contain at least one letter, and may contain only letters and spaces.
32
32
  *
33
33
  * @param {string} organizationId - Unique identifier of the parent organization
34
34
  * @param {KardApi.organizations.CreateChildRequestBody} request
@@ -122,7 +122,7 @@ class ChildrenClient {
122
122
  });
123
123
  }
124
124
  /**
125
- * Create a child organization by cloning the parent and overriding specified fields. An 8-digit numeric ID is generated automatically. The name is required, must be uppercase, and must not contain spaces.
125
+ * Create a child organization by cloning the parent and overriding specified fields. An 8-digit numeric ID is generated automatically. The name is required, must contain at least one letter, and may contain only letters and spaces.
126
126
  *
127
127
  * @param {string} organizationId - Unique identifier of the parent organization
128
128
  * @param {KardApi.organizations.CreateChildRequestBody} request
@@ -2,7 +2,7 @@
2
2
  * Limited set of child organization attributes exposed to external consumers
3
3
  */
4
4
  export interface ChildOrganizationAttributes {
5
- /** Name of the child organization (uppercase, no spaces) */
5
+ /** Name of the child organization (at least one letter; letters and spaces only) */
6
6
  name: string;
7
7
  /** External identifier for the child organization */
8
8
  externalId?: string | undefined;
@@ -3,13 +3,13 @@
3
3
  *
4
4
  * @example
5
5
  * {
6
- * name: "ACMECHILDBANK",
6
+ * name: "Acme Child Bank",
7
7
  * externalId: "ext-123",
8
8
  * bins: ["123456", "789012"]
9
9
  * }
10
10
  */
11
11
  export interface CreateChildAttributes {
12
- /** Name of the child organization (must be uppercase, no spaces) */
12
+ /** Name of the child organization (at least one letter; letters and spaces only) */
13
13
  name: string;
14
14
  /** External identifier for the child organization */
15
15
  externalId?: string | undefined;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @example
5
5
  * {
6
- * name: "NEWCHILDNAME"
6
+ * name: "New Child Name"
7
7
  * }
8
8
  *
9
9
  * @example
@@ -12,7 +12,7 @@
12
12
  * }
13
13
  */
14
14
  export interface UpdateChildAttributes {
15
- /** New name for the child organization (must be uppercase, no spaces) */
15
+ /** New name for the child organization (at least one letter; letters and spaces only) */
16
16
  name?: string | undefined;
17
17
  /** External identifier for the child organization */
18
18
  externalId?: string | undefined;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "23.0.0";
1
+ export declare const SDK_VERSION = "23.0.1";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "23.0.0";
4
+ exports.SDK_VERSION = "23.0.1";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@kard-financial/sdk",
9
- "X-Fern-SDK-Version": "23.0.0",
10
- "User-Agent": "@kard-financial/sdk/23.0.0",
9
+ "X-Fern-SDK-Version": "23.0.1",
10
+ "User-Agent": "@kard-financial/sdk/23.0.1",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -28,7 +28,7 @@ export declare class ChildrenClient {
28
28
  list(organizationId: string, request?: KardApi.organizations.ListChildrenRequest, requestOptions?: ChildrenClient.RequestOptions): core.HttpResponsePromise<KardApi.organizations.ChildOrganizationListResponse>;
29
29
  private __list;
30
30
  /**
31
- * Create a child organization by cloning the parent and overriding specified fields. An 8-digit numeric ID is generated automatically. The name is required, must be uppercase, and must not contain spaces.
31
+ * Create a child organization by cloning the parent and overriding specified fields. An 8-digit numeric ID is generated automatically. The name is required, must contain at least one letter, and may contain only letters and spaces.
32
32
  *
33
33
  * @param {string} organizationId - Unique identifier of the parent organization
34
34
  * @param {KardApi.organizations.CreateChildRequestBody} request
@@ -86,7 +86,7 @@ export class ChildrenClient {
86
86
  });
87
87
  }
88
88
  /**
89
- * Create a child organization by cloning the parent and overriding specified fields. An 8-digit numeric ID is generated automatically. The name is required, must be uppercase, and must not contain spaces.
89
+ * Create a child organization by cloning the parent and overriding specified fields. An 8-digit numeric ID is generated automatically. The name is required, must contain at least one letter, and may contain only letters and spaces.
90
90
  *
91
91
  * @param {string} organizationId - Unique identifier of the parent organization
92
92
  * @param {KardApi.organizations.CreateChildRequestBody} request
@@ -2,7 +2,7 @@
2
2
  * Limited set of child organization attributes exposed to external consumers
3
3
  */
4
4
  export interface ChildOrganizationAttributes {
5
- /** Name of the child organization (uppercase, no spaces) */
5
+ /** Name of the child organization (at least one letter; letters and spaces only) */
6
6
  name: string;
7
7
  /** External identifier for the child organization */
8
8
  externalId?: string | undefined;
@@ -3,13 +3,13 @@
3
3
  *
4
4
  * @example
5
5
  * {
6
- * name: "ACMECHILDBANK",
6
+ * name: "Acme Child Bank",
7
7
  * externalId: "ext-123",
8
8
  * bins: ["123456", "789012"]
9
9
  * }
10
10
  */
11
11
  export interface CreateChildAttributes {
12
- /** Name of the child organization (must be uppercase, no spaces) */
12
+ /** Name of the child organization (at least one letter; letters and spaces only) */
13
13
  name: string;
14
14
  /** External identifier for the child organization */
15
15
  externalId?: string | undefined;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @example
5
5
  * {
6
- * name: "NEWCHILDNAME"
6
+ * name: "New Child Name"
7
7
  * }
8
8
  *
9
9
  * @example
@@ -12,7 +12,7 @@
12
12
  * }
13
13
  */
14
14
  export interface UpdateChildAttributes {
15
- /** New name for the child organization (must be uppercase, no spaces) */
15
+ /** New name for the child organization (at least one letter; letters and spaces only) */
16
16
  name?: string | undefined;
17
17
  /** External identifier for the child organization */
18
18
  externalId?: string | undefined;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "23.0.0";
1
+ export declare const SDK_VERSION = "23.0.1";
@@ -1 +1 @@
1
- export const SDK_VERSION = "23.0.0";
1
+ export const SDK_VERSION = "23.0.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kard-financial/sdk",
3
- "version": "23.0.0",
3
+ "version": "23.0.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -516,7 +516,7 @@ await client.organizations.children.list("organizationId");
516
516
  <dl>
517
517
  <dd>
518
518
 
519
- Create a child organization by cloning the parent and overriding specified fields. An 8-digit numeric ID is generated automatically. The name is required, must be uppercase, and must not contain spaces.
519
+ Create a child organization by cloning the parent and overriding specified fields. An 8-digit numeric ID is generated automatically. The name is required, must contain at least one letter, and may contain only letters and spaces.
520
520
  </dd>
521
521
  </dl>
522
522
  </dd>